pystemon icon indicating copy to clipboard operation
pystemon copied to clipboard

implement pastebin.mozilla.org

Open cvandeplas opened this issue 11 years ago • 2 comments

http://pastebin.mozilla.org/2333873

id is incremental

cvandeplas avatar Apr 22 '13 09:04 cvandeplas

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 .

vmalguy avatar Jul 29 '15 13:07 vmalguy

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

I think you can close this issue

chervaliery avatar Feb 11 '19 09:02 chervaliery