Refactored and added documentation.

This commit is contained in:
Michael Lazar
2016-07-15 18:33:07 -07:00
parent 789551b62d
commit 40732fb90c
3 changed files with 97 additions and 36 deletions

View File

@@ -14,6 +14,10 @@ class HTMLParsed(Exception):
def __init__(self, data):
self.data = data
# TODO: open temp file, close after 60 seconds with thread.timer()
# TODO: switch to bs4 with "html.parser"
# TODO: Add media_readme.rst
# TODO: Add environment variables to config
class ImgurHTMLParser(HTMLParser):
"""