mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
commit
4f7310b6f7
@ -198,7 +198,7 @@ class RarbgProvider(generic.TorrentProvider):
|
|||||||
torrent_name = str(torrentName)
|
torrent_name = str(torrentName)
|
||||||
torrentId = result.find_all('td')[1].find_all('a')[0]['href'][1:].replace(
|
torrentId = result.find_all('td')[1].find_all('a')[0]['href'][1:].replace(
|
||||||
'torrent/', '')
|
'torrent/', '')
|
||||||
torrent_download_url = (self.urls['download'] % (torrentId, torrent_name + '-[rarbg.com].torrent')).encode('utf8')
|
torrent_download_url = (self.urls['download'] % (torrentId, urllib.quote(torrent_name) + '-[rarbg.com].torrent')).encode('utf8')
|
||||||
except (AttributeError, TypeError):
|
except (AttributeError, TypeError):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user