Fix AnimeWorld
This commit is contained in:
@@ -5,13 +5,15 @@
|
|||||||
# ----------------------------------------------------------
|
# ----------------------------------------------------------
|
||||||
|
|
||||||
from core import support, jsontools
|
from core import support, jsontools
|
||||||
from platformcode import config
|
from platformcode import config, logger
|
||||||
from lib import js2py
|
from lib import js2py
|
||||||
|
|
||||||
host = support.config.get_channel_url()
|
host = support.config.get_channel_url()
|
||||||
headers = {}
|
headers = {}
|
||||||
|
|
||||||
__channel__ = 'animeworld'
|
__channel__ = 'animeworld'
|
||||||
|
cookie = support.match(host, patron=r'document.cookie="([^\s]+)').match
|
||||||
|
headers = [['Referer', host], ['Cookie', cookie]]
|
||||||
|
|
||||||
|
|
||||||
def order():
|
def order():
|
||||||
|
|||||||
Reference in New Issue
Block a user