diff --git a/pastepwn/analyzers/wordanalyzer.py b/pastepwn/analyzers/wordanalyzer.py index 912e29e..c8fbf84 100644 --- a/pastepwn/analyzers/wordanalyzer.py +++ b/pastepwn/analyzers/wordanalyzer.py @@ -31,7 +31,11 @@ def _blacklist_word_found(self, text): return False def add_word(self, word): - """Add a word to the analyzer""" + """ + Add a word to the analyzer + :param word: Word to be added + :return: + """ self.words.append(word) def match(self, paste): diff --git a/pastepwn/scraping/pastebin/pastebinscraper.py b/pastepwn/scraping/pastebin/pastebinscraper.py index 7aa960f..5fa372d 100644 --- a/pastepwn/scraping/pastebin/pastebinscraper.py +++ b/pastepwn/scraping/pastebin/pastebinscraper.py @@ -18,6 +18,7 @@ class PastebinScraper(BasicScraper): + """Scraper class for pastebin""" name = "PastebinScraper" api_base_url = "https://scrape.pastebin.com"