Private GIT

Skip to content
Snippets Groups Projects
Commit 28262fab authored by miigotu's avatar miigotu
Browse files

Merge pull request #563 from SickRage/bugfix-299

Don't proceed when url returned no data in hounddawgs
parents 3e37f673 dc766362
No related branches found
No related tags found
No related merge requests found
......@@ -107,6 +107,9 @@ class HoundDawgsProvider(TorrentProvider): # pylint: disable=too-many-instance-
self.search_params['searchstr'] = search_string
data = self.get_url(self.urls['search'], params=self.search_params)
if not data:
logger.log(u'URL did not return data', logger.DEBUG)
continue
strTableStart = "<table class=\"torrent_table"
startTableIndex = data.find(strTableStart)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment