Private GIT

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

Don't proceed when url returned no data in hounddawgs

parent 3e37f673
Branches
Tags
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