12
12
function _log ($ s ) {
13
13
global $ logFile ;
14
14
fwrite ($ logFile , date ('[m/d H:i] ' ).$ s ."\n" );
15
- // echo $s."\n";
15
+ echo $ s ."\n" ;
16
16
}
17
17
function execQuery ($ db , $ query ) {
18
18
$ returnVal = [];
@@ -415,7 +415,7 @@ function main() {
415
415
foreach (explode ("\n" , trim ($ manifest )) as $ line ) {
416
416
list ($ manifestName ) = explode (', ' , $ line );
417
417
if ($ manifestName == 'manifest/soundmanifest ' ) {
418
- curl_setopt ($ curl , CURLOPT_URL , 'http://priconne-redive.akamaized.net/dl/Resources/ ' .$ TruthVersion .'/Jpn/Sound/manifest/soundmanifest ' );
418
+ curl_setopt ($ curl , CURLOPT_URL , 'http://priconne-redive.akamaized.net/dl/Resources/ ' .$ TruthVersion .'/Jpn/Sound/manifest/sound2manifest ' );
419
419
$ manifest = curl_exec ($ curl );
420
420
file_put_contents ('data/+manifest_sound.txt ' , $ manifest );
421
421
} else {
@@ -424,10 +424,10 @@ function main() {
424
424
file_put_contents ('data/+manifest_ ' .substr ($ manifestName , 9 , -14 ).'.txt ' , $ manifest );
425
425
}
426
426
}
427
- curl_setopt ($ curl , CURLOPT_URL , 'http://priconne-redive.akamaized.net/dl/Resources/ ' .$ TruthVersion .'/Jpn/Movie/SP/High/manifest/moviemanifest ' );
427
+ curl_setopt ($ curl , CURLOPT_URL , 'http://priconne-redive.akamaized.net/dl/Resources/ ' .$ TruthVersion .'/Jpn/Movie/SP/High/manifest/movie2manifest ' );
428
428
$ manifest = curl_exec ($ curl );
429
429
file_put_contents ('data/+manifest_movie.txt ' , $ manifest );
430
- curl_setopt ($ curl , CURLOPT_URL , 'http://priconne-redive.akamaized.net/dl/Resources/ ' .$ TruthVersion .'/Jpn/Movie/SP/Low/manifest/moviemanifest ' );
430
+ curl_setopt ($ curl , CURLOPT_URL , 'http://priconne-redive.akamaized.net/dl/Resources/ ' .$ TruthVersion .'/Jpn/Movie/SP/Low/manifest/movie2manifest ' );
431
431
$ manifest = curl_exec ($ curl );
432
432
file_put_contents ('data/+manifest_movie_low.txt ' , $ manifest );
433
433
0 commit comments