Index: /titan/mediathek/localhoster/mixdrop.py
===================================================================
--- /titan/mediathek/localhoster/mixdrop.py (revision 44499)
+++ /titan/mediathek/localhoster/mixdrop.py (revision 44500)
@@ -7,4 +7,5 @@
from lib import helpers
import lib.common as common
+from lib import jsunpack
class MixdropResolver(object):
@@ -34,4 +35,21 @@
html = self.net.http_GET(web_url, headers=headers).content
+# print "html", html
+ js_data = re.findall('(eval\(function.*?)', html.replace('\n', ''))
+# print "js_data1", js_data
+ for i in js_data:
+ html += jsunpack.unpack(i)
+# print "html", html
+
+ #MDCore.poster="//s-delivery10.mxdcontent.net/thumbs/18a6675ac1932f50e07887c3daf25a8b.jpg";MDCore.furl="//s-delivery10.mxdcontent.net/v/18a6675ac1932f50e07887c3daf25a8b.mp4?s=1W53dLLMYoBJ_x-Nv73_FA&e=1578351242";MDCore.vfile="18a6675ac1932f50e07887c3daf25a8b.mp4";MDCore.vserver="s-delivery10";MDCore.remotesub="";MDCore.chromeInject="0";MDCore.referrer="";$(document).ready(function(){setTimeout(function(){$("body").append("")},120000);setTimeout(function(){$("body").append("")},120000);setTimeout(function(){$("body").append("")},120000);setTimeout(function(){$("body").append("")},120000);setTimeout(function(){$("body").append("")},120000);setTimeout(function(){$("body").append("")},120000)});
+ match = re.search('MDCore.furl="([^"].*)";MDCore.vfile=', html)
+ if match:
+ match = re.search('MDCore.furl="([^"].*)";MDCore.vfile=', html).group(1)
+ headers = {'User-Agent': common.RAND_UA}
+ if 'http:' not in match:
+ print "https:%s" % (match) + helpers.append_headers(headers)
+ else:
+ print "%s" % (match) + helpers.append_headers(headers)
+ return
if '(p,a,c,k,e,d)' in html: