summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/XHamsterCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-01-02 16:01:56 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-01-02 16:01:56 +0100
commit6c75c0363f496df86e9c744a9a946f86f82715fa (patch)
tree53e5b7f906e2b9fb1d853d2b0599be7a8c5c7a3d /module/plugins/hoster/XHamsterCom.py
parentTimeout for http request set to 1 minute + report effective url address in he... (diff)
downloadpyload-6c75c0363f496df86e9c744a9a946f86f82715fa.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/XHamsterCom.py')
-rw-r--r--module/plugins/hoster/XHamsterCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/XHamsterCom.py b/module/plugins/hoster/XHamsterCom.py
index d4b0c343e..a804ad2c6 100644
--- a/module/plugins/hoster/XHamsterCom.py
+++ b/module/plugins/hoster/XHamsterCom.py
@@ -77,7 +77,7 @@ class XHamsterCom(Hoster):
self.error(_("url_mode not found"))
if self.desired_fmt == ".mp4":
- file_url = re.search(r"<a href=\"" + srv_url + "(.+?)\"", self.data)
+ file_url = re.search(r'<a href=\"" + srv_url + "(.+?)\"', self.data)
if file_url is None:
self.error(_("file_url not found"))
@@ -127,7 +127,7 @@ class XHamsterCom(Hoster):
"""
if not self.data:
self.download_html()
- if re.search(r"(.*Video not found.*)", self.data):
+ if re.search(r'(.*Video not found.*)', self.data):
return False
else:
return True