Oops 2 :p

This commit is contained in:
Alhaziel
2019-09-02 20:44:33 +02:00
parent 0b56ffbc24
commit c11096373e
2 changed files with 3 additions and 1 deletions

View File

@@ -80,6 +80,7 @@ def newest(categoria):
def search(item, texto):
support.log(texto)
item.args = 'noorder'
item.url = host + '/search?keyword=' + texto
try:
return peliculas(item)
@@ -139,6 +140,7 @@ def findvideos(item):
number = support.scrapertoolsV2.find_single_match(item.title,r'(\d+) -')
block = support.scrapertoolsV2.find_multiple_matches(data,'data-id="' + serverid + '">(.*?)<div class="server')
ID = support.scrapertoolsV2.find_single_match(str(block),r'<a data-id="([^"]+)" data-base="' + (number if number else '1') + '"')
support.log('ID= ',serverid)
if id:
dataJson = support.httptools.downloadpage('%s/ajax/episode/info?id=%s&server=%s&ts=%s' % (host, ID, serverid, int(time.time())), headers=[['x-requested-with', 'XMLHttpRequest']]).data
json = jsontools.load(dataJson)

View File

@@ -4,7 +4,7 @@
"ignore_urls": [],
"patterns": [
{
"pattern": "(?:verystream|woof.tube|keepsetsu.online).*?/(?:e|stream)/([0-9a-zA-Z-_]+)",
"pattern": "(?:verystream|woof.tube).*?/(?:e|stream)/([0-9a-zA-Z-_]+)",
"url": "https://verystream.com/e/\\1/"
}
]