Created
December 12, 2022 22:50
-
-
Save phonedude/5e8574a3105bb2be44b201147f74b578 to your computer and use it in GitHub Desktop.
Grabbing the video files from twitter.com without HTTP authentication.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% cat run-me.sh | |
#!/bin/csh -x | |
curl "https://video.twimg.com/dm_video/1600877027330064385/vid/0/0/320x180/jZYOJeLERXPOC4qe.mp4" > | |
00.mp4 | |
curl "https://video.twimg.com/dm_video/1600877027330064385/vid/0/3000/320x180/l1mZtezfzjRRYziE.m4s " > | |
01.m4s | |
curl "https://video.twimg.com/dm_video/1600877027330064385/vid/3000/6000/320x180/yxhsDmzuJG9ZqtYb.m4s " | |
> 02.m4s | |
curl "https://video.twimg.com/dm_video/1600877027330064385/vid/6000/9000/320x180/KGtEzr2KaRfP4Y6H.m4s " | |
> 03.m4s | |
curl "https://video.twimg.com/dm_video/1600877027330064385/vid/9000/12000/320x180/V1cXuDCxjXKk_JT9.m4s | |
" > 04.m4s | |
curl "https://video.twimg.com/dm_video/1600877027330064385/vid/12000/15000/320x180/CtUTfpf83EHjEFjd.m4s | |
" > 05.m4s | |
curl "https://video.twimg.com/dm_video/1600877027330064385/vid/15000/18000/320x180/lGncur15MHC6fvKg.m4s | |
" > 06.m4s | |
curl "https://video.twimg.com/dm_video/1600877027330064385/vid/18000/21000/320x180/2U51PtuljYpAxhRr.m4s | |
" > 07.m4s | |
curl "https://video.twimg.com/dm_video/1600877027330064385/vid/21000/24000/320x180/gs-8pNvThX_1kjx0.m4s | |
" > 08.m4s | |
curl "https://video.twimg.com/dm_video/1600877027330064385/vid/24000/27000/320x180/f1UDV6NW3odTL-ux.m4s | |
" > 09.m4s | |
curl "https://video.twimg.com/dm_video/1600877027330064385/vid/27000/30000/320x180/9hFdPsP3QYV8c130.m4s | |
" > 10.m4s | |
curl "https://video.twimg.com/dm_video/1600877027330064385/vid/30000/32100/320x180/yFOkibojJs9PWhkX.m4s | |
" > 11.m4s | |
% ./run-me.sh | |
curl https://video.twimg.com/dm_video/1600877027330064385/vid/0/0/320x180/jZYOJeLERXPOC4qe.mp4 | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 1130 100 1130 0 0 6208 0 --:--:-- --:--:-- --:--:-- 6208 | |
curl https://video.twimg.com/dm_video/1600877027330064385/vid/0/3000/320x180/l1mZtezfzjRRYziE.m4s | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 37919 100 37919 0 0 251k 0 --:--:-- --:--:-- --:--:-- 251k | |
curl https://video.twimg.com/dm_video/1600877027330064385/vid/3000/6000/320x180/yxhsDmzuJG9ZqtYb.m4s | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 35423 100 35423 0 0 283k 0 --:--:-- --:--:-- --:--:-- 283k | |
curl https://video.twimg.com/dm_video/1600877027330064385/vid/6000/9000/320x180/KGtEzr2KaRfP4Y6H.m4s | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 36960 100 36960 0 0 243k 0 --:--:-- --:--:-- --:--:-- 243k | |
curl https://video.twimg.com/dm_video/1600877027330064385/vid/9000/12000/320x180/V1cXuDCxjXKk_JT9.m4s | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 43395 100 43395 0 0 181k 0 --:--:-- --:--:-- --:--:-- 181k | |
curl https://video.twimg.com/dm_video/1600877027330064385/vid/12000/15000/320x180/CtUTfpf83EHjEFjd.m4s | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 47333 100 47333 0 0 185k 0 --:--:-- --:--:-- --:--:-- 184k | |
curl https://video.twimg.com/dm_video/1600877027330064385/vid/15000/18000/320x180/lGncur15MHC6fvKg.m4s | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 41711 100 41711 0 0 162k 0 --:--:-- --:--:-- --:--:-- 162k | |
curl https://video.twimg.com/dm_video/1600877027330064385/vid/18000/21000/320x180/2U51PtuljYpAxhRr.m4s | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 38884 100 38884 0 0 132k 0 --:--:-- --:--:-- --:--:-- 132k | |
curl https://video.twimg.com/dm_video/1600877027330064385/vid/21000/24000/320x180/gs-8pNvThX_1kjx0.m4s | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 36449 100 36449 0 0 144k 0 --:--:-- --:--:-- --:--:-- 144k | |
curl https://video.twimg.com/dm_video/1600877027330064385/vid/24000/27000/320x180/f1UDV6NW3odTL-ux.m4s | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 32279 100 32279 0 0 92755 0 --:--:-- --:--:-- --:--:-- 92755 | |
curl https://video.twimg.com/dm_video/1600877027330064385/vid/27000/30000/320x180/9hFdPsP3QYV8c130.m4s | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 32413 100 32413 0 0 109k 0 --:--:-- --:--:-- --:--:-- 109k | |
curl https://video.twimg.com/dm_video/1600877027330064385/vid/30000/32100/320x180/yFOkibojJs9PWhkX.m4s | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 22617 100 22617 0 0 94237 0 --:--:-- --:--:-- --:--:-- 93846 | |
% cat 00.mp4 *.m4s > wk-bk-dm-video.mp4 | |
% ls -l wk-bk-dm-video.mp4 | |
-rw-r--r--@ 1 mln2 staff 406513 Dec 8 11:32 wk-bk-dm-video.mp4 | |
% open wk-bk-dm-video.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment