Skip to content

Commit

Permalink
Merge pull request #2 from danfossi/master
Browse files Browse the repository at this point in the history
Updated due the change of url..
Thank for the change and sorry to be that late ! I'm not really using qbittorrent anymore and actually have no time to code.
  • Loading branch information
davy39 committed Nov 21, 2015
2 parents b9808cb + 2bdc089 commit cebc2b0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions t411.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#VERSION: 1.0
#AUTHOR: Davy39 <[email protected]>
#VERSION: 1.1
#AUTHORS: Davy39 <[email protected]>, Danfossi <[email protected]>

# Copyleft

Expand All @@ -11,14 +11,14 @@ class t411(object):

########### !!!!! CHANGE ME !!!!!! #############
###
# your identifiant on t411.me: ###
username = 'Change_Me' ###
# your identifiant on t411.io: ###
username = 'Your_User' ###
# and your password: ###
password = 'Change_Me' ###
password = 'Your_Pass' ###
###
###################################################

url = 'http://www.t411.me'
url = 'http://www.t411.io'
name = 'T411 (french - need login)'
supported_categories = {'anime':'', 'games': '', 'all': '', 'movies': 'cat=210&subcat=631', 'tv': 'cat=210&subcat=433', 'music': 'cat=395&subcat=623', 'software': 'cat=233', 'books': 'cat=404'}
cookie_values = {'login':username, 'password':password, 'remember':'1', 'url':'/'}
Expand Down Expand Up @@ -62,7 +62,7 @@ def __init__(self, results, url, *args):

def start_a(self, attr):
params = dict(attr)
if params.has_key('href') and params['href'].startswith("//www.t411.me/torrents"):
if params.has_key('href') and params['href'].startswith("//www.t411.io/torrents"):
self.current_item = {}
self.td_counter = 0
self.current_item['desc_link'] = 'http:' + params['href'].strip()
Expand Down Expand Up @@ -115,4 +115,4 @@ def search(self, what, cat='all'):
parser.close()
if len(results) <= 0:
break
i += 1
i += 1

0 comments on commit cebc2b0

Please sign in to comment.