Merge pull request #69 from wonipapa/devel

PHP 버전 Pooq 함수 복구(p5)
This commit is contained in:
wonipapa 2017-12-06 16:26:09 +09:00 committed by GitHub
commit da43b52c9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@
@date_default_timezone_set('Asia/Seoul'); @date_default_timezone_set('Asia/Seoul');
error_reporting(E_ALL ^ E_NOTICE); error_reporting(E_ALL ^ E_NOTICE);
@set_time_limit(0); @set_time_limit(0);
define("VERSION", "1.2.3p4"); define("VERSION", "1.2.3p5");
$debug = False; $debug = False;
$ua = "'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36'"; $ua = "'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36'";
$timeout = 5; $timeout = 5;
@ -414,6 +414,8 @@ function getEPG() {
GetEPGFromIscs($ChannelInfo); GetEPGFromIscs($ChannelInfo);
elseif($ChannelSource == 'HCN') : elseif($ChannelSource == 'HCN') :
GetEPGFromHcn($ChannelInfo); GetEPGFromHcn($ChannelInfo);
elseif($ChannelSource == 'POOQ') :
GetEPGFromPooq($ChannelInfo);
elseif($ChannelSource == 'EVERYON') : elseif($ChannelSource == 'EVERYON') :
GetEPGFromEveryon($ChannelInfo); GetEPGFromEveryon($ChannelInfo);
elseif($ChannelSource == 'OKSUSU') : elseif($ChannelSource == 'OKSUSU') :

View File

@ -44,7 +44,7 @@ if not sys.version_info[:2] == (2, 7):
sys.exit() sys.exit()
# Set variable # Set variable
__version__ = '1.2.3p4' __version__ = '1.2.3p5'
debug = False debug = False
today = datetime.date.today() today = datetime.date.today()
ua = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36', 'accept': '*/*'} ua = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36', 'accept': '*/*'}