pystemon
pystemon copied to clipboard
implement pastebin.mozilla.org
http://pastebin.mozilla.org/2333873
id is incremental
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 .
Pastebin.mozilla.org was shut down on September 1st, 2018. https://wiki.mozilla.org/Pastebin
I think you can close this issue