pyTweetBot.tools package¶
Submodules¶
pyTweetBot.tools.PageParser module¶
-
class
pyTweetBot.tools.PageParser.PageParser(url, timeout=20)¶ Bases:
objectThis is a class to retrieve text from HTML page given an URL.
-
html¶ Get HTML :return:
-
raw_title¶ Raw title :return:
-
reload(url=u'')¶ Reload URL
-
text¶ Get text :return:
-
title¶ Page’s title :return:
-
url¶ Loaded URL :return:
-
-
exception
pyTweetBot.tools.PageParser.PageParserRetrievalError¶ Bases:
exceptions.Exception
-
exception
pyTweetBot.tools.PageParser.UnknownEncoding¶ Bases:
exceptions.ExceptionUnknown encoding exception