Update datoporn.py

This commit is contained in:
Intel1
2017-08-10 10:31:04 -05:00
committed by GitHub
parent 8d62070a86
commit 2882f3e866

View File

@@ -32,7 +32,7 @@ def lista(item):
matches = scrapertools.find_multiple_matches(data, patron)
for scrapedurl, scrapedthumbnail, duration, scrapedtitle in matches:
if "/embed-" not in scrapedurl:
scrapedurl = scrapedurl.replace("datoporn.com/", "datoporn.com/embed-") + ".html"
scrapedurl = scrapedurl.replace("dato.porn/", "dato.porn/embed-") + ".html"
if duration:
scrapedtitle = "%s - %s" % (duration, scrapedtitle)