fix: per standardizzare gli host senza / alla fine

This commit is contained in:
greko17
2019-09-16 01:55:14 +02:00
parent bf5005fb35
commit a0a30bd8aa
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -471,7 +471,7 @@ def dooplay_get_links(item, host):
"nume": nume,
"type": type
})
dataAdmin = httptools.downloadpage(host + 'wp-admin/admin-ajax.php', post=postData,headers={'Referer': item.url}).data
dataAdmin = httptools.downloadpage(host + '/wp-admin/admin-ajax.php', post=postData,headers={'Referer': item.url}).data
link = scrapertoolsV2.find_single_match(dataAdmin, "<iframe.*src='([^']+)'")
ret.append({
'url': link,