summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/Movie2kTo.py
diff options
context:
space:
mode:
authorGravatar Christopher <4Christopher@gmx.de> 2013-03-13 17:37:38 +0100
committerGravatar Christopher <4Christopher@gmx.de> 2013-03-13 17:37:38 +0100
commitc8867a5291cb1ccdd5e7f9cadd06f7f600d6920d (patch)
treecf9ff193cb62e84130b98fff4c2aea20f91a28e1 /module/plugins/crypter/Movie2kTo.py
parentXvidstageCom: I can now recognize if a file is offline (diff)
downloadpyload-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.py2
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+?)\].+&nbsp;(.+?)</a>')
- re_hoster_id_html = re.compile(r'</td><td.*?<a href=".*?(\d{7}).*?".+?&nbsp;(.+?)</a>')
+ re_hoster_id_html = re.compile(r'<a href=".*?(\d{7}).*?".+?&nbsp;([^<>]+?)</a>')
## I assume that the ID is 7 digits longs
count = defaultdict(int)
matches = re_hoster_id_js.findall(self.html)