Fix SC e AU

This commit is contained in:
Alhaziel01
2022-09-26 19:44:46 +02:00
parent 4cfb971475
commit d723f0552b
4 changed files with 15 additions and 9 deletions

View File

@@ -1105,7 +1105,9 @@ def play_video(item, strm=False, force_direct=False, autoplay=False):
# headers['Host'] = domain
# except:
# logger.error('Failed to resolve hostname, fallback to normal dns')
if '|' not in mediaurl:
from core import support
support.dbg()
if '|' not in mediaurl and item.referer != False:
mediaurl = mediaurl + '|' + urllib.urlencode(headers)
# video information is obtained.