Module Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Import alias Import alias Import alias Import alias Import alias TryExcept body Import alias handlers ExceptHandler body Print Str Print Str Expr Call AttributeLoad NameLoad attr Num TryExcept body Import alias handlers ExceptHandler body Assign NameStore NameLoad orelse Assign NameStore NameLoad TryExcept body Import alias handlers ExceptHandler body Assign NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore Str Assign NameStore Dict Assign NameStore Dict AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore Dict AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Num body If BoolOpAnd AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr NameLoad body Return BinOpSub Call NameLoad AttributeLoad NameLoad attr Num Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr NameLoad body Return Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str Str Num NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Lambda arguments args NameParam defaults Call NameLoad SubscriptLoad NameLoad Index Num keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num orelse Print Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareEq AttributeLoad NameLoad attr Str body Assign NameStore BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num body Expr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num TryExcept body For NameStore Call AttributeLoad NameLoad attr body Pass handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Index Str body If Call NameLoad NameLoad NameLoad body If BoolOpAnd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr CompareGtE Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Return SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Return AttributeLoad NameLoad attr orelse Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str Str Str Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad For NameStore Call AttributeLoad NameLoad attr body AugAssignAdd AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Num keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareEq AttributeLoad NameLoad attr Str body TryExcept body Print BinOpMod Str TupleLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr handlers ExceptHandler body Pass Assign NameStore BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareEq AttributeLoad NameLoad attr Str body TryExcept body Print BinOpMod Str TupleLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Pass Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse TryExcept body Print BinOpMod Str TupleLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler body Pass Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index NameLoad TryExcept body For NameStore Call AttributeLoad NameLoad attr body Pass handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Return SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Return AttributeLoad NameLoad attr orelse Return NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Expr Str Print NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Print BinOpAdd BinOpAdd NameLoad Str NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Global identifier Assign NameStore NameLoad Global identifier Global identifier Global identifier Global identifier Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Print BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num For TupleStore NameStore NameStore NameLoad body If CompareIn NameLoad Str body TryExcept body Assign NameStore NameLoad handlers ExceptHandler body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num orelse If CompareIn NameLoad Str body TryExcept body Assign NameStore NameLoad handlers ExceptHandler body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num orelse If CompareIn NameLoad Str body TryExcept body Assign NameStore NameLoad handlers ExceptHandler body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num orelse If CompareIn NameLoad Str body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num orelse If CompareIn NameLoad Str body Assign NameStore NameLoad orelse If CompareIn NameLoad Str body Assign NameStore NameLoad orelse If CompareIn NameLoad Str body Assign NameStore NameLoad orelse If CompareIn NameLoad Str body TryExcept body Assign NameStore NameLoad handlers ExceptHandler body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num orelse If CompareIn NameLoad Str body Assign NameStore NameLoad orelse If CompareIn NameLoad Str body Assign NameStore NameLoad orelse If CompareIn NameLoad Str body Expr Call NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num orelse If CompareIn NameLoad Str body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num orelse If CompareIn NameLoad Str body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str orelse If CompareIn NameLoad Str body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str orelse If CompareIn NameLoad Str body If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Assign NameStore NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num orelse If CompareIn NameLoad Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore NameLoad orelse Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str If CompareNotEq NameLoad Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If CompareNotEq NameLoad Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If BoolOpAnd NameLoad UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num If BoolOpAnd NameLoad UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str If BoolOpAnd NameLoad UnaryOpNot NameLoad body Print Str Expr Call AttributeLoad NameLoad attr Num If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad orelse Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad NameLoad attr body Print BinOpMult Str Num Print BinOpMod Str SubscriptLoad NameLoad Index Num Print BinOpMod Str SubscriptLoad NameLoad Index Num If CompareEq NameLoad Str body Print BinOpMod Str SubscriptLoad NameLoad Index Num orelse Print BinOpMod Str SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad NameLoad Index Num Print BinOpMod Str SubscriptLoad NameLoad Index Num Print BinOpMod Str SubscriptLoad NameLoad Index Num If CompareEq NameLoad Str body Print BinOpMod Str SubscriptLoad NameLoad Index Num orelse Print BinOpMod Str SubscriptLoad NameLoad Index Num orelse Print BinOpMod Str NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad NameLoad body Assign NameStore NameLoad If CompareEq NameLoad Str body Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Str Print BinOpMod Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad handlers ExceptHandler body Print BinOpMod Str TupleLoad NameLoad NameLoad Print BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr Str TryExcept body If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num orelse Print Str Expr Call AttributeLoad NameLoad attr Num decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A __appname__ SxxExx N/A __version__ 0.5 N/A __author__ Nicolas Hennion <nicolas@nicolargo.com> N/A __license__ MIT N/A __doc__ 
Search (and download) series from the Piracy Bay and torrent411.

Usage: sxxexx [options]

Options:
    -T <pb|t411>   Search in server : 't411' (torrent411) or 'pb' (piracy Bay)
    -t <title>     Serie's title
    -s <season>    Season (optionnal)
    -e <episode>   Episode (optionnal)
    -l <min>       Minimum seeders (optionnal, default is 0)
    -q             Add a filter for HD quality (only for piracy bay)
    -p <url>       Overwrite default Piracy Bay URL
    -a             Display all results (not only the best choice)
    -d             Download best choice using Transmission (RPC)
    -c <host:port> Overwrite Transmission RPC address (default localhost:9091)
    -i             Disable access to the TVDB database
    -S <directory> Save the t411 torrent to the specified directory
    -V             Switch on verbose mode (verbose like a man)
    -D             Switch on debug mode (verbose like a woman)
    -h             Display help and exit
    -v             Display version and exit

Examples:

    # sxxexx -t homeland -s 3 -e 10 -a
    > Display all Homeland S03E10 torrents

    # sxxexx -t "the walking dead" -s 4 -e 8 -d
    > Download best torrent (most seeded) for The Walking Dead S04E08

    # sxxexx -t "how i met your mother" -s 9 -a
    > Display all HYMYM torrents of the season 9

 N/A getopt N/A sys N/A logging N/A re N/A t411 N/A N/A N/A tpb N/A N/A N/A N/A Error: Sorry but SxxExx need ThePirateBay Python lib N/A Install it using: # pip install thepiratebay N/A N/A N/A sys exit 1 N/A N/A N/A tvdb_api N/A N/A N/A N/A tvdbapi_tag False N/A N/A tvdbapi_tag True N/A N/A N/A transmissionrpc N/A N/A N/A N/A transmissionrpc_tag False N/A N/A transmissionrpc_tag True N/A tpb_url https://thepiratebay.se N/A tpb_categories N/A N/A tpb_categories_ld N/A N/A N/A N/A tpb CATEGORIES VIDEO TV_SHOWS TV shows N/A tpb_categories_hd N/A N/A N/A N/A tpb CATEGORIES VIDEO HD_TV_SHOWS HD TV shows N/A transmission_rcp localhost:9091 tvdb N/A object N/A N/A 
    Class to manage connection to the TVDB database
    In the current version, TVDB is optionnal
     __init__ N/A N/A self title N/A N/A N/A N/A self tvdb_tag tvdbapi_tag N/A N/A self tvdb_tag N/A N/A N/A self tvdb N/A N/A tvdb_api Tvdb N/A N/A N/A N/A self tvdb_serie N/A N/A self get_serie title N/A N/A N/A N/A N/A self tvdb_serie None N/A N/A self tvdb_season None N/A N/A self tvdb_episode None N/A get_serie N/A N/A self title N/A N/A N/A N/A self tvdb_tag N/A N/A N/A self tvdb_serie N/A N/A self tvdb N/A title N/A N/A self data N/A N/A self tvdb_serie data N/A N/A self tvdb_serie N/A get_season N/A N/A self season N/A 0 N/A N/A N/A N/A self tvdb_tag N/A N/A self tvdb_serie None N/A N/A N/A self tvdb_season N/A N/A self tvdb_serie N/A season N/A N/A self tvdb_season N/A get_season_number N/A N/A self N/A N/A N/A N/A N/A self tvdb_tag N/A N/A self tvdb_serie None N/A N/A N/A N/A len N/A self tvdb_serie 1 N/A -1 N/A get_episode N/A N/A self season episode N/A N/A N/A N/A N/A self tvdb_tag N/A N/A self tvdb_serie None N/A N/A N/A self tvdb_episode N/A N/A N/A self tvdb_serie N/A season N/A episode N/A N/A self tvdb_episode N/A get_episode_number N/A N/A self season N/A N/A N/A N/A N/A self tvdb_tag N/A N/A self tvdb_serie None N/A N/A N/A len N/A N/A self tvdb_serie N/A season N/A -1 N/A N/A series_t411 N/A object N/A N/A 
    Main class: search and download series from t411 server
     __init__ N/A N/A self title season episode seeders_min directory_download N/A 0 None N/A N/A N/A self title title N/A N/A self source N/A N/A self __readsource__ N/A N/A self season season N/A N/A self episode episode N/A N/A self seeders_min seeders_min N/A N/A self dir_download directory_download N/A N/A self regexp N/A N/A self search_regexp N/A N/A N/A logging debug N/A Search regexp: %s N/A self regexp N/A N/A self list N/A N/A self buildlist N/A N/A N/A N/A self list sort key N/A N/A N/A torrent N/A N/A int N/A torrent N/A 1 reverse True N/A N/A N/A logging info N/A %s torrent(s) found N/A len N/A self list N/A downloadbest N/A N/A self N/A N/A N/A best N/A N/A self getbest N/A N/A best None N/A N/A N/A N/A N/A self source download N/A best N/A 2 filename N/A best N/A 0 directory N/A self dir_download N/A N/A N/A N/A logging error Can't download because no torrent was found for this search. N/A None N/A __readsource__ N/A N/A self N/A N/A N/A 
        Connect to the t411 server
         N/A N/A N/A src N/A N/A t411 T411 N/A N/A N/A Exception N/A e N/A N/A N/A N/A logging error N/A Error while trying connection to t411... %s N/A e message N/A N/A N/A sys exit 1 N/A N/A Connected to the t411 server N/A src N/A search_regexp N/A N/A self N/A N/A N/A 
        Define the regexp used for the search
         N/A N/A N/A N/A self season N/A N/A self episode N/A N/A regexp N/A ^%s.* N/A N/A N/A self title lower N/A N/A N/A N/A self episode N/A N/A regexp N/A ^%s.*(s[0]*%s|season[\s\_\-\.]*%s).* N/A N/A N/A N/A self title lower N/A self season N/A self season N/A N/A regexp N/A ^%s.*((s[0]*%s.*e[0]*%s)|[0]*%sx[0]*%s).* N/A N/A N/A N/A self title lower N/A self season N/A self episode N/A self season N/A self episode N/A regexp N/A buildlist N/A N/A self category limit N/A N/A N/A N/A tpb CATEGORIES VIDEO TV_SHOWS 1000 N/A N/A 
        Build the torrent list
        Return list of list sorted by seeders count
        Id can be used to retrieve torrent associate with this id
        [[<title>, <Seeders>, <id>] ...]
         N/A N/A N/A s N/A N/A N/A self source search N/A N/A N/A self title lower limit N/A N/A N/A Exception N/A e N/A N/A N/A N/A logging error Can not send search request to the t411 server N/A N/A N/A logging error N/A e message N/A N/A N/A sys exit 1 N/A N/A N/A t N/A N/A s items N/A N/A N/A N/A N/A N/A N/A N/A logging error t411 server returned an invalid result N/A N/A N/A sys exit 1 N/A torrentlist N/A N/A torrent N/A s N/A torrents N/A N/A N/A isinstance torrent dict N/A N/A N/A N/A N/A re search N/A self regexp N/A N/A N/A torrent N/A name lower N/A N/A int N/A torrent N/A seeders N/A self seeders_min N/A N/A N/A N/A torrentlist append N/A N/A torrent N/A name N/A torrent N/A seeders N/A torrent N/A id N/A N/A N/A logging debug N/A Found %d matching items  N/A len torrentlist N/A torrentlist N/A getbest N/A N/A self N/A N/A N/A 
        Return the best choice (or None if no serie founded)
         N/A N/A N/A len N/A self list 0 N/A N/A N/A N/A self list N/A 0 N/A N/A None N/A getall N/A N/A self N/A N/A N/A 
        Return all the matched series (or None if no serie founded)
         N/A N/A N/A len N/A self list 0 N/A N/A N/A self list N/A N/A None N/A N/A series_pb N/A object N/A N/A 
    Main class: search and download series
     __init__ N/A N/A self tpb_url title season episode seeders_min N/A 0 N/A N/A N/A self tpb_url tpb_url N/A N/A self source N/A N/A self __readsource__ N/A N/A self title title N/A N/A self season season N/A N/A self episode episode N/A N/A self seeders_min seeders_min N/A N/A N/A logging info Get serie information from TVDB N/A N/A self tvdb N/A tvdb N/A self title N/A N/A self regexp N/A N/A self search_regexp N/A N/A N/A logging debug N/A Search regexp: %s N/A self regexp N/A N/A self list N/A N/A c N/A N/A tpb_categories keys N/A N/A N/A self list N/A N/A self buildlist category c N/A N/A N/A N/A self list sort key N/A N/A N/A torrent N/A N/A torrent N/A 1 reverse True N/A N/A N/A logging info N/A %s torrent(s) found N/A len N/A self list N/A __tpb_error_ N/A N/A self N/A N/A N/A N/A N/A logging info N/A Check if the Piracy Bay Web site is online: %s N/A self tpb_url N/A N/A N/A logging debug You can change the Piracy Bay URL with the -p tag N/A __readsource__ N/A N/A self N/A N/A N/A 
        Connect to the Piracy Bay
         N/A N/A N/A s N/A N/A tpb TPB N/A self tpb_url N/A N/A N/A N/A N/A N/A logging error Can not connect to the Piracy Bay Web site N/A N/A N/A self __tpb_error_ N/A N/A N/A sys exit 1 N/A N/A N/A N/A logging debug Connected to the Piracy Bay N/A s N/A search_regexp N/A N/A self N/A N/A N/A 
        Define the regexp used for the search
         N/A N/A N/A N/A self season N/A N/A self episode N/A N/A N/A N/A N/A %s has %s seasons (the serie is %s) N/A N/A N/A N/A self tvdb data N/A seriesname N/A N/A N/A self tvdb get_season_number N/A N/A N/A N/A N/A self tvdb data N/A status lower N/A N/A N/A N/A N/A regexp N/A ^%s.* N/A N/A N/A self title lower N/A N/A N/A N/A self episode N/A N/A N/A N/A N/A %s has %s episodes in season %s N/A N/A N/A N/A self tvdb data N/A seriesname N/A N/A N/A self tvdb get_episode_number N/A int N/A self season N/A self season N/A N/A N/A N/A N/A regexp N/A ^%s.*(s[0]*%s|season[\s\_\-\.]*%s).* N/A N/A N/A N/A self title lower N/A self season N/A self season N/A N/A N/A N/A N/A %s S%sE%s name is "%s" N/A N/A N/A N/A self tvdb data N/A seriesname N/A self season N/A self episode N/A N/A N/A N/A self tvdb get_episode N/A int N/A self season N/A int N/A self episode N/A episodename N/A N/A N/A N/A N/A regexp N/A ^%s.*((s[0]*%s.*e[0]*%s)|[0]*%sx[0]*%s).* N/A N/A N/A N/A self title lower N/A self season N/A self episode N/A self season N/A self episode N/A regexp N/A buildlist N/A N/A self category N/A N/A N/A N/A tpb CATEGORIES VIDEO TV_SHOWS N/A N/A 
        Build the torrent list
        Return list of list sorted by Seeders
        [[<title>, <Seeders>, <MagnetURL>, <TorrentURL] ...]
         N/A N/A N/A s N/A N/A N/A self source search N/A N/A N/A self title lower category category N/A N/A N/A N/A N/A N/A logging error Can not send search request to the Piracy Bay N/A N/A N/A self __tpb_error_ N/A N/A N/A sys exit 1 N/A N/A N/A logging info N/A Search %s in the category %s... N/A N/A N/A N/A self title lower N/A tpb_categories N/A category N/A N/A N/A t N/A N/A s items N/A N/A N/A N/A N/A N/A N/A N/A logging error The Piracy Bay return an invalid result N/A N/A N/A self __tpb_error_ N/A N/A N/A sys exit 1 N/A torrentlist N/A N/A t N/A N/A s items N/A N/A N/A N/A N/A re search N/A self regexp N/A N/A N/A t title lower N/A N/A t seeders N/A self seeders_min N/A N/A N/A N/A torrentlist append N/A N/A t title N/A t seeders N/A t magnet_link N/A t torrent_link N/A N/A N/A logging debug N/A Found %s matching items in category %s N/A N/A len torrentlist N/A tpb_categories N/A category N/A torrentlist N/A getbest N/A N/A self N/A N/A N/A 
        Return the best choice (or None if no serie founded)
         N/A N/A N/A len N/A self list 0 N/A N/A N/A N/A self list N/A 0 N/A N/A None N/A getall N/A N/A self N/A N/A N/A 
        Return all the matched series (or None if no serie founded)
         N/A N/A N/A len N/A self list 0 N/A N/A N/A self list N/A N/A None N/A N/A printSyntax N/A N/A N/A N/A N/A 
    Display the syntax of the command line
     N/A __doc__ N/A printVersion N/A N/A N/A N/A N/A 
    Display the current software version
     N/A N/A N/A __appname__  version  __version__ N/A main N/A N/A N/A N/A N/A 
    Main function
     N/A _DEBUG_ N/A _DEBUG_ False N/A tpb_url N/A tpb_categories N/A transmission_rcp N/A tvdbapi_tag N/A serie_title None N/A search_type None N/A serie_season N/A serie_episode N/A seeders_min 0 N/A download_tag False N/A display_all_tag False N/A hd_tag False N/A save_torrent_dir None N/A N/A N/A N/A opts args N/A N/A getopt getopt N/A N/A sys argv N/A 1 T:S:t:s:e:l:qdc:p:aiVDhv N/A N/A N/A N/A getopt GetoptError N/A err N/A N/A N/A Syntax error, %s N/A str err N/A N/A N/A sys exit 2 N/A N/A opt arg opts N/A N/A N/A opt -t N/A N/A N/A N/A serie_title arg N/A N/A N/A N/A N/A printVersion N/A N/A N/A sys exit 1 N/A N/A N/A opt -s N/A N/A N/A N/A serie_season arg N/A N/A N/A N/A N/A printVersion N/A N/A N/A sys exit 1 N/A N/A N/A opt -e N/A N/A N/A N/A serie_episode arg N/A N/A N/A N/A N/A printVersion N/A N/A N/A sys exit 1 N/A N/A N/A opt -l N/A N/A N/A N/A seeders_min N/A int arg N/A N/A N/A N/A N/A printVersion N/A N/A N/A sys exit 1 N/A N/A N/A opt -q N/A N/A hd_tag True N/A N/A N/A opt -d N/A N/A download_tag True N/A N/A N/A opt -c N/A N/A transmission_rcp arg N/A N/A N/A opt -p N/A N/A N/A N/A tpb_url arg N/A N/A N/A N/A N/A printVersion N/A N/A N/A sys exit 1 N/A N/A N/A opt -a N/A N/A display_all_tag True N/A N/A N/A opt -i N/A N/A tvdbapi_tag False N/A N/A N/A opt -h N/A N/A N/A printVersion N/A N/A printSyntax N/A N/A N/A sys exit 0 N/A N/A N/A opt -v N/A N/A N/A printVersion N/A N/A N/A sys exit 0 N/A N/A N/A opt -V N/A N/A _DEBUG_ True N/A N/A N/A logging basicConfig level N/A logging INFO format %(asctime)s %(levelname)s - %(message)s datefmt %d/%m/%Y %H:%M:%S N/A N/A N/A logging debug Verbose mode is ON N/A N/A N/A opt -D N/A N/A _DEBUG_ True N/A N/A N/A logging basicConfig level N/A logging DEBUG format %(asctime)s %(levelname)s - %(message)s datefmt %d/%m/%Y %H:%M:%S N/A N/A N/A logging debug Debug mode is ON N/A N/A N/A opt -T N/A N/A N/A N/A arg pb N/A arg t411 N/A N/A search_type arg N/A N/A N/A N/A logging error Invalid type of search : t411 (torrent411) or pb (Piracy Bay).  N/A N/A N/A sys exit 1 N/A N/A N/A opt -S N/A N/A N/A N/A logging info N/A Saving torrent from torrent411 to: %s arg N/A save_torrent_dir arg N/A N/A N/A printSyntax N/A N/A N/A sys exit 1 N/A N/A _DEBUG_ N/A N/A N/A N/A logging basicConfig level N/A logging ERROR format %(asctime)s %(levelname)s - %(message)s datefmt %d/%m/%Y %H:%M:%S N/A N/A N/A logging info N/A Running %s version %s N/A __appname__ __version__ N/A N/A serie_title None N/A N/A N/A N/A logging error Need a serie's title. Use the -t tag. N/A N/A N/A sys exit 1 N/A N/A N/A N/A logging info N/A Search for title %s serie_title N/A N/A search_type None N/A N/A N/A N/A logging error Need a type of search : t411 (torrent411) or pb (Piracy Bay). Use the -T tag. N/A N/A N/A sys exit 1 N/A N/A N/A search_type pb N/A N/A N/A N/A logging info Search on PiracyBay N/A N/A N/A N/A logging info Search on torrent411 N/A N/A serie_season N/A N/A N/A N/A logging info N/A Search for season %s serie_season N/A N/A serie_episode N/A N/A N/A N/A logging info N/A Search for episode %s serie_episode N/A N/A download_tag N/A transmissionrpc_tag N/A N/A N/A N/A logging error -d tag need the TransmissionRPC Python lib N/A N/A N/A sys exit 1 N/A hd_tag N/A N/A N/A N/A tpb_categories update tpb_categories_hd N/A N/A N/A logging info Filter HD series N/A N/A N/A N/A tpb_categories update tpb_categories_ld N/A N/A N/A tpb_categories update tpb_categories_hd N/A N/A download_tag display_all_tag N/A N/A N/A N/A logging error -d tag can not be used with the -a tag N/A N/A N/A sys exit 1 N/A N/A download_tag N/A display_all_tag N/A N/A N/A N/A logging info Download mode is ON N/A N/A N/A N/A transmission_rcp_host transmission_rcp_port N/A N/A transmission_rcp split : N/A transmission_rcp_port N/A int transmission_rcp_port N/A N/A N/A N/A N/A N/A logging error Transmission RPC adress should be host:port N/A N/A N/A sys exit 1 N/A N/A N/A N/A logging info N/A Transmission RPC: host=%s / port=%s N/A transmission_rcp_host transmission_rcp_port N/A N/A N/A N/A logging info Download mode is OFF N/A display_all_tag N/A N/A N/A N/A logging info Display all tag is ON N/A tvdbapi_tag N/A N/A N/A N/A logging info TVDB API is installed N/A N/A N/A N/A logging info TVDB API is not installed N/A N/A save_torrent_dir N/A download_tag N/A N/A -S tag need to be used with -d tag N/A N/A N/A sys exit 1 N/A N/A search_type pb N/A N/A N/A N/A logging info N/A Piracy Bay URL (use -p to overwrite): %s tpb_url N/A serie N/A series_pb tpb_url tpb_url title serie_title season serie_season episode serie_episode seeders_min seeders_min N/A N/A serie N/A series_t411 title serie_title season serie_season episode serie_episode seeders_min seeders_min directory_download save_torrent_dir N/A best N/A N/A serie getbest N/A N/A best None N/A N/A display_all_tag N/A N/A N/A N/A logging info Display all results N/A r N/A N/A serie getall N/A N/A N/A * 79 N/A N/A Title:   %s N/A r N/A 0 N/A N/A Seeders: %s N/A r N/A 1 N/A N/A search_type pb N/A N/A N/A Magnet:  %s N/A r N/A 2 N/A N/A N/A Id:  %s N/A r N/A 2 N/A N/A N/A N/A logging info N/A Best match is %s N/A best N/A 0 N/A N/A Title:   %s N/A best N/A 0 N/A N/A Seeders: %s N/A best N/A 1 N/A N/A search_type pb N/A N/A N/A Magnet:  %s N/A best N/A 2 N/A N/A N/A Id:  %s N/A best N/A 2 N/A N/A N/A No torrent found for %s... serie_title N/A N/A N/A best None download_tag N/A N/A uri None N/A N/A search_type pb N/A N/A uri N/A best N/A 2 N/A N/A N/A logging info Send best magnet to Transmission N/A N/A Uri:  %s uri N/A N/A N/A tc N/A N/A transmissionrpc Client transmission_rcp_host port transmission_rcp_port N/A N/A N/A N/A N/A Error: Can not connect to Transmission (%s:%s) N/A transmission_rcp_host transmission_rcp_port N/A N/A Info: Transmission remote control access should be enabled on host %s, port %s N/A transmission_rcp_host transmission_rcp_port N/A N/A N/A logging info N/A Can not connect to Transmission (%s:%s) N/A transmission_rcp_host transmission_rcp_port N/A N/A N/A sys exit 1 N/A N/A N/A N/A logging debug Transmission connection completed N/A N/A N/A N/A search_type pb N/A N/A N/A N/A tc add_uri N/A best N/A 2 N/A N/A N/A N/A tc add N/A N/A serie downloadbest N/A N/A N/A N/A N/A N/A logging error Error while sending download request to Transmission N/A N/A N/A sys exit 1 N/A N/A Transmission start downloading... N/A N/A N/A sys exit 0 N/A N/A N/A __name__ __main__ N/A N/A N/A main