def __init__(self, name, interval): RecentItemsDownloader.__init__(self, name, interval) self.download_url = 'http://codepad.org/{id}/raw.' self.session = requests.session() return
def __init__(self, name, interval): RecentItemsDownloader.__init__(self, name, interval) self.download_url = 'http://paste.pocoo.org/raw/{id}' self.session = requests.session() return
def __init__(self, name, interval): RecentItemsDownloader.__init__(self, name, interval) self.download_url = 'http://pastie.org/pastes/{id}/download' self.session = requests.session() return
def __init__(self, name, interval): RecentItemsDownloader.__init__(self, name, interval) self.download_url = 'http://paste.kde.org/{id}/raw/' self.details_url = 'http://paste.kde.org/{id}/' self.details_regexp = dict( user=r'<i>Posted by (?!Anonymous)(.*?) at', syntax=r'<i>Language: ([^<]+)</i>', ) self.session = requests.session() return
def __init__(self, name, interval): RecentItemsDownloader.__init__(self, name, interval) self.download_url = 'http://www.pasteit.in/index.php?dl={id}' self.details_url = 'http://www.pasteit.in/{id}' self.details_regexp = dict( user=r'<h1>Posted by (.*?) on [^<\(]+[<\(]', posted_on=r'<h1>Posted by .* on ([^<\(]+)[<\(]', ) self.session = requests.session() return
def __init__(self, name, interval): RecentItemsDownloader.__init__(self, name, interval) self.download_url = 'http://www.pastebay.net/pastebay.php?dl={id}' self.details_url = 'http://www.pastebay.net/{id}' self.details_regexp = dict( user=r'<h1>Posted by (.*) on [^<]+<', posted_on=r'<h1>Posted by .* on ([^<]+)<', ) self.session = requests.session() return
def __init__(self, name, interval): RecentItemsDownloader.__init__(self, name, interval) self.download_url = 'http://pastebin.com/download.php?i={id}' self.details_url = 'http://pastebin.com/{id}' self.details_regexp = dict( title=r'<h1>(?!Untitled)(.*?)</h1>', user=r'By: <a href="\/u\/([^"]*)">[^<]*<\/a>', syntax=r'syntax: <a href="[^"]*">(?!None)([^<]*)</a>', ) self.session = requests.session() return
def __init__(self, name, interval): RecentItemsDownloader.__init__(self, name, interval) self.download_url = 'http://slexy.org/raw/{id}' self.details_url = 'http://slexy.org/view/{id}' self.details_regexp = dict( user=r'Author: <b>(?!Anonymous)([^<]+)</b>', syntax=r'Language: <b>([^<]+)</b>', title=r'Description: <b>(?!No description)([^<]+)</b>', posted_on=r'Timestamp: <b>([^<]+)</b>', ) self.session = requests.session() return
def __init__(self, name, interval): RecentItemsDownloader.__init__(self, name, interval) self.details_url = 'https://gist.github.com/{id}' # if something is found, these are the details to be kept from the details page. self.details_regexp = dict( user='******', title='<span id="description" class="edit instapaper_title">([^<]+)<\/span>' ) # This regexp grabs the links to each file within this gist (i.e. potential leaks). self.files_regexp = '<a href="\/(raw\/[^"]+)">raw<\/a>' # Full url to the raw leak data self.files_url = 'https://gist.github.com/{link}' return
def __init__(self, name, interval): RecentItemsDownloader.__init__(self, name, interval) self.details_url = 'https://gist.github.com/{id}' # if something is found, these are the details to be kept from the details page. self.details_regexp = dict( user='******', title= '<span id="description" class="edit instapaper_title">([^<]+)<\/span>' ) # This regexp grabs the links to each file within this gist (i.e. potential leaks). self.files_regexp = '<a href="\/(raw\/[^"]+)">raw<\/a>' # Full url to the raw leak data self.files_url = 'https://gist.github.com/{link}' return