diff options
author | Christopher <4Christopher@gmx.de> | 2013-03-13 17:37:38 +0100 |
---|---|---|
committer | Christopher <4Christopher@gmx.de> | 2013-03-13 17:37:38 +0100 |
commit | c8867a5291cb1ccdd5e7f9cadd06f7f600d6920d (patch) | |
tree | cf9ff193cb62e84130b98fff4c2aea20f91a28e1 /module/plugins/crypter/Movie2kTo.py | |
parent | XvidstageCom: I can now recognize if a file is offline (diff) | |
download | pyload-c8867a5291cb1ccdd5e7f9cadd06f7f600d6920d.tar.xz |
Movie2kTo: Changed regex. I hope it now matches every site.
Diffstat (limited to 'module/plugins/crypter/Movie2kTo.py')
-rw-r--r-- | module/plugins/crypter/Movie2kTo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/crypter/Movie2kTo.py b/module/plugins/crypter/Movie2kTo.py index 3be3be73c..506ad2eaf 100644 --- a/module/plugins/crypter/Movie2kTo.py +++ b/module/plugins/crypter/Movie2kTo.py @@ -87,7 +87,7 @@ class Movie2kTo(Crypter): links = [] ## h_id: hoster_id of a possible hoster re_hoster_id_js = re.compile(r'links\[(\d+?)\].+ (.+?)</a>') - re_hoster_id_html = re.compile(r'</td><td.*?<a href=".*?(\d{7}).*?".+? (.+?)</a>') + re_hoster_id_html = re.compile(r'<a href=".*?(\d{7}).*?".+? ([^<>]+?)</a>') ## I assume that the ID is 7 digits longs count = defaultdict(int) matches = re_hoster_id_js.findall(self.html) |