Update datoporn.py

This commit is contained in:
Intel1
2017-08-10 10:31:49 -05:00
committed by GitHub
parent 2882f3e866
commit 91669b70fb
+1 -1
View File
@@ -26,7 +26,7 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
media_urls = scrapertools.find_multiple_matches(data, 'file\:"([^"]+\.mp4)",label:"([^"]+)"') media_urls = scrapertools.find_multiple_matches(data, 'file\:"([^"]+\.mp4)",label:"([^"]+)"')
if not media_urls: if not media_urls:
match = scrapertools.find_single_match(data, "<script type='text/javascript'>(.*?)</script>") match = scrapertools.find_single_match(data, "p,a,c,k(.*?)</script>")
data = jsunpack.unpack(match) data = jsunpack.unpack(match)
media_urls = scrapertools.find_multiple_matches(data, 'file\:"([^"]+\.mp4)",label:"([^"]+)"') media_urls = scrapertools.find_multiple_matches(data, 'file\:"([^"]+\.mp4)",label:"([^"]+)"')