diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-08 12:24:34 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-08 12:24:34 +0200 |
commit | c59aa4057608cd47084c66e41f363b5f981f2816 (patch) | |
tree | 73d787e55826537710ab526f583c46b0623c6c85 /module/plugins/hoster/FilefactoryCom.py | |
parent | Spare improvements (diff) | |
download | pyload-c59aa4057608cd47084c66e41f363b5f981f2816.tar.xz |
Fixpack (5)
Diffstat (limited to 'module/plugins/hoster/FilefactoryCom.py')
-rw-r--r-- | module/plugins/hoster/FilefactoryCom.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hoster/FilefactoryCom.py b/module/plugins/hoster/FilefactoryCom.py index 637f3b2e0..b134abf30 100644 --- a/module/plugins/hoster/FilefactoryCom.py +++ b/module/plugins/hoster/FilefactoryCom.py @@ -10,9 +10,11 @@ def get_info(urls): for url in urls: h = get_url(url, just_header=True) m = re.search(r'Location: (.+)\r\n', h) + if m and not re.match(m.group(1), FilefactoryCom.__pattern__): #: It's a direct link! Skipping yield (url, 0, 3, url) - else: #: It's a standard html page + else: + #: It's a standard html page yield parse_fileInfo(FilefactoryCom, url, get_url(url)) |