Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
增加 山东来源
  • Loading branch information
supzhang authored Aug 7, 2023
1 parent 084d477 commit c066f86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crawl/spiders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from crawl.spiders.mytvsuper import get_epgs_mytvsuper,get_channels_mytvsuper
from crawl.spiders.gxntv import get_epgs_gxntv,get_channels_gxntv
from utils.general import chuanliu_Authorization
from crawl.spiders.sdtv import get_epgs_sdtv,get_channels_sdtv
epg_funcs = {
'tvmao':get_epgs_tvmao2,
'tbc':get_epgs_tbc,
Expand All @@ -39,6 +40,7 @@
'chuanliu':get_epgs_chuanliu,
'mytvsuper':get_epgs_mytvsuper,
'gxntv':get_epgs_gxntv,
'sdtv':get_epgs_sdtv,
} #所有EPG的接口
epg_source = {
'tvmao':get_channels_tvmao,
Expand All @@ -59,6 +61,7 @@
'chuanliu':get_channels_chuanliu,
'mytvsuper':get_channels_mytvsuper,
'gxntv':get_channels_gxntv,
'sdtv':get_channels_sdtv,
}
func_args = {
'tvmao':0,
Expand All @@ -79,6 +82,7 @@
'chuanliu':chuanliu_Authorization,
'mytvsuper':0,
'gxntv':0,
'sdtv':0,
}
def epg_func(channel,id,dt,func_arg=0,source = 0):
if source:
Expand Down Expand Up @@ -106,9 +110,11 @@ def epg_func(channel,id,dt,func_arg=0,source = 0):
'get_epgs_chuanliu',
'get_epgs_mytvsuper',
'get_epgs_gxntv',
'get_epgs_sdtv',
'epg_funcs',
'func_args',
'epg_func',

]


Expand Down

0 comments on commit c066f86

Please sign in to comment.