Private GIT

Skip to content
Snippets Groups Projects
Commit 23c2797e authored by sarakha63's avatar sarakha63
Browse files

Merge pull request #331 from adaur/patch-1

Update T411 to its new domain name
parents 689c323b 2a7b9f71
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ class T411Provider(generic.TorrentProvider):
self.opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(self.cj))
self.opener.addheaders = [('Content-Type', 'application/x-www-form-urlencoded'),('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)')]
self.url = "http://www.t411.me"
self.url = "http://www.t411.io"
self.login_done = False
......@@ -133,7 +133,7 @@ class T411Provider(generic.TorrentProvider):
link = row.find("a", title=True)
title = link['title']
id = row.find_all('td')[2].find_all('a')[0]['href'][1:].replace('torrents/nfo/?id=','')
downloadURL = ('http://www.t411.me/torrents/download/?id=%s' % id)
downloadURL = ('http://www.t411.io/torrents/download/?id=%s' % id)
quality = Quality.nameQuality( title )
if quality==Quality.UNKNOWN and title:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment