diff options
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/container/LinkList.py | 2 | ||||
-rw-r--r-- | module/plugins/hoster/YoupornCom.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/container/LinkList.py b/module/plugins/container/LinkList.py index c9e7a85a3..d352d0b49 100644 --- a/module/plugins/container/LinkList.py +++ b/module/plugins/container/LinkList.py @@ -32,7 +32,7 @@ class LinkList(Container): curPack = link[1:-1] packages[curPack] = [] continue - packages[curPack].append(link.replace("\n", "")) + packages[curPack].append(link) txt.close() # empty packages fix diff --git a/module/plugins/hoster/YoupornCom.py b/module/plugins/hoster/YoupornCom.py index b90da4f83..c9fa4e465 100644 --- a/module/plugins/hoster/YoupornCom.py +++ b/module/plugins/hoster/YoupornCom.py @@ -35,7 +35,7 @@ class YoupornCom(Hoster): if self.html is None: self.download_html() - file_url = re.search(r'(http://download.youporn.com/download/\d*/(?:flv/)?.*\?save=1)">', self.html).group(1) + file_url = re.search(r'(http://download\.youporn\.com/download/\d+\?save=1)">', self.html).group(1) return file_url def get_file_name(self): |