Skip to content

Commit

Permalink
TASK: Add some docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
d-Rickyy-b committed Sep 7, 2019
1 parent 01f865e commit d0ebd0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pastepwn/analyzers/wordanalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
1 change: 1 addition & 0 deletions pastepwn/scraping/pastebin/pastebinscraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@


class PastebinScraper(BasicScraper):
"""Scraper class for pastebin"""
name = "PastebinScraper"
api_base_url = "https://scrape.pastebin.com"

Expand Down

0 comments on commit d0ebd0a

Please sign in to comment.