Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement pastebin.mozilla.org #10

Open
cvandeplas opened this issue Apr 22, 2013 · 2 comments
Open

implement pastebin.mozilla.org #10

cvandeplas opened this issue Apr 22, 2013 · 2 comments

Comments

@cvandeplas
Copy link
Owner

http://pastebin.mozilla.org/2333873

id is incremental

@vmalguy
Copy link

vmalguy commented Jul 29, 2015

to handle incremental ids , how about adding a custom class (like PastiePasteSiteCom) that overloads the "fetch_pastie" with a small change to handle none existing paste ID .
And on get_last_pasties a small change from "pasties_ids = re.findall(self.archive_regex, htmlPage)" to "pasties_ids[0] = self.starting_id" and add a loop "if self.seen_pastie(pastie_id):" to get to the last unseen id.
then the modified fetch_pastie will stop once the first "yet to be written" ID his detected. maybe we will need config regexp to detect it .

@chervaliery
Copy link
Contributor

Pastebin.mozilla.org was shut down on September 1st, 2018.
https://wiki.mozilla.org/Pastebin

I think you can close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants