cinecalidad: fix
This commit is contained in:
@@ -315,9 +315,12 @@ def findvideos(item):
|
|||||||
server = 'thevideome'
|
server = 'thevideome'
|
||||||
url = server_url[server_id] + video_id + '.html'
|
url = server_url[server_id] + video_id + '.html'
|
||||||
elif server_id == 'BitTorrent':
|
elif server_id == 'BitTorrent':
|
||||||
base_url = 'http://www.cinecalidad.to/protect/contenido.php'
|
import urllib
|
||||||
post = 'i=%s&title=%s' % (video_id, item.contentTitle)
|
base_url = 'http://www.cinecalidad.to/protect/v.php'
|
||||||
protect = httptools.downloadpage(base_url, post=post).data
|
post = {'i':video_id, 'title':item.title}
|
||||||
|
post = urllib.urlencode(post)
|
||||||
|
headers = {'Referer':item.url}
|
||||||
|
protect = httptools.downloadpage(base_url+'?'+post, headers=headers).data
|
||||||
url = scrapertools.find_single_match(protect, 'value="(magnet.*?)"')
|
url = scrapertools.find_single_match(protect, 'value="(magnet.*?)"')
|
||||||
server = 'torrent'
|
server = 'torrent'
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user