Closed steve51184 closed 2 years ago
So I have this installed correctly but when I run
node index.js https://vm.tiktok.com/[removed]
It outputs the following:
URL > https://vm.tiktok.com/[removed]/ Found live "[removed]": m3u8 URL: https://pull-hls-f11-va01.tiktokcdn.com/stage/stream-29933070622830665_or4.m3u8 flv URL: http://pull-flv-f11-va01.tiktokcdn.com/stage/stream-29933070622830665_or4.m3u8 Writing live to 7104045166184418054.flv. Press Ctrl C to STOP.
But it does all this in under 1-2 seconds and the .flv file it made is only 462 bytes and contains the following text:
stream-29933070622830665_or4-1654040968.ts
stream-29933070622830665_or4-1654040969.ts
stream-29933070622830665_or4-1654040970.ts
What's happening here?
Edit: it works if I run the command a second time but not the first time..
can you please update and test it?
Confirmed working thank you
Thank you for the report
So I have this installed correctly but when I run
node index.js https://vm.tiktok.com/[removed]
It outputs the following:
URL > https://vm.tiktok.com/[removed]/ Found live "[removed]": m3u8 URL: https://pull-hls-f11-va01.tiktokcdn.com/stage/stream-29933070622830665_or4.m3u8 flv URL: http://pull-flv-f11-va01.tiktokcdn.com/stage/stream-29933070622830665_or4.m3u8 Writing live to 7104045166184418054.flv. Press Ctrl C to STOP.
But it does all this in under 1-2 seconds and the .flv file it made is only 462 bytes and contains the following text:
EXTM3U
EXT-X-VERSION:3
EXT-X-ALLOW-CACHE:YES
EXT-X-MEDIA-SEQUENCE:1654040968
EXT-X-TARGETDURATION:3
EXT-X-PROGRAM-DATE-TIME:2022-06-01T07:49:38+08:00
EXTINF:2.240, no desc
stream-29933070622830665_or4-1654040968.ts
EXT-X-PROGRAM-DATE-TIME:2022-06-01T07:49:40+08:00
EXTINF:2.120, no desc
stream-29933070622830665_or4-1654040969.ts
EXT-X-PROGRAM-DATE-TIME:2022-06-01T07:49:42+08:00
EXTINF:2.040, no desc
stream-29933070622830665_or4-1654040970.ts
What's happening here?
Edit: it works if I run the command a second time but not the first time..