Fix altadefinizione01 - alcuni server mancanti
This commit is contained in:
@@ -141,13 +141,15 @@ def newest(categoria):
|
|||||||
|
|
||||||
return itemlist
|
return itemlist
|
||||||
|
|
||||||
|
|
||||||
def findvideos(item):
|
def findvideos(item):
|
||||||
support.info('findvideos', item)
|
support.info('findvideos', item)
|
||||||
data = httptools.downloadpage(item.url).data
|
itemlist = [item.clone(action="play", url=srv[0], quality=srv[1]) for srv in support.match(item, patron='<a href="#" data-link="([^"]+).*?<span class="d">([^<]+)').matches]
|
||||||
iframe = support.match(data, patron='src="(http[^"]+)" frameborder').match
|
itemlist = support.server(item, itemlist=itemlist, headers=headers)
|
||||||
if iframe:
|
if not itemlist:
|
||||||
item.url = iframe
|
data = httptools.downloadpage(item.url).data
|
||||||
return support.server(item)
|
iframe = support.match(data, patron='src="(http[^"]+)" frameborder').match
|
||||||
else:
|
if iframe:
|
||||||
itemlist = [item.clone(action="play", url=srv[0], quality=srv[1]) for srv in support.match(item, patron='<a href="#" data-link="([^"]+).*?<span class="d">([^<]+)').matches]
|
item.url = iframe
|
||||||
return support.server(item, itemlist=itemlist, headers=headers)
|
return support.server(item)
|
||||||
|
return itemlist
|
||||||
|
|||||||
@@ -3,11 +3,11 @@
|
|||||||
"find_videos": {
|
"find_videos": {
|
||||||
"patterns": [
|
"patterns": [
|
||||||
{
|
{
|
||||||
"pattern": "https?://dropload.io/(\\w{12})",
|
"pattern": "//dropload.io/(\\w{12})",
|
||||||
"url": "https://dropload.io/\\1"
|
"url": "https://dropload.io/\\1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pattern": "https?://dropload.io/embed-(\\w{12}).html",
|
"pattern": "//dropload.io/embed-(\\w{12}).html",
|
||||||
"url": "https://dropload.io/\\1"
|
"url": "https://dropload.io/\\1"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user