Skip to content

Instantly share code, notes, and snippets.

@phonedude
Created December 12, 2022 22:53
Show Gist options
  • Save phonedude/ef46f0fc61e01db5a0344301bcde2cc9 to your computer and use it in GitHub Desktop.
Save phonedude/ef46f0fc61e01db5a0344301bcde2cc9 to your computer and use it in GitHub Desktop.
The Twitter DM video files have been pushed to the Wayback Machine, where they will persist even if Twitter adds authentication to the original URLs.
% cat run-me-ia.sh
#!/bin/csh -x
curl -L
"https://web.archive.org/web/20221208194342id_/https://video.twimg.com/dm_video/1600877027330064385/vid
/0/0/320x180/jZYOJeLERXPOC4qe.mp4" > ia-00.mp4
curl -L
"https://web.archive.org/web/20221208194342id_/https://video.twimg.com/dm_video/1600877027330064385/vid
/0/3000/320x180/l1mZtezfzjRRYziE.m4s " > ia-01.m4s
curl -L
"https://web.archive.org/web/20221208194342id_/https://video.twimg.com/dm_video/1600877027330064385/vid
/3000/6000/320x180/yxhsDmzuJG9ZqtYb.m4s " > ia-02.m4s
curl -L
"https://web.archive.org/web/20221208194342id_/https://video.twimg.com/dm_video/1600877027330064385/vid
/6000/9000/320x180/KGtEzr2KaRfP4Y6H.m4s " > ia-03.m4s
curl -L
"https://web.archive.org/web/20221208194342id_/https://video.twimg.com/dm_video/1600877027330064385/vid
/9000/12000/320x180/V1cXuDCxjXKk_JT9.m4s " > ia-04.m4s
curl -L
"https://web.archive.org/web/20221208194342id_/https://video.twimg.com/dm_video/1600877027330064385/vid
/12000/15000/320x180/CtUTfpf83EHjEFjd.m4s " > ia-05.m4s
curl -L
"https://web.archive.org/web/20221208194342id_/https://video.twimg.com/dm_video/1600877027330064385/vid
/15000/18000/320x180/lGncur15MHC6fvKg.m4s " > ia-06.m4s
curl -L
"https://web.archive.org/web/20221208194342id_/https://video.twimg.com/dm_video/1600877027330064385/vid
/18000/21000/320x180/2U51PtuljYpAxhRr.m4s " > ia-07.m4s
curl -L
"https://web.archive.org/web/20221208194342id_/https://video.twimg.com/dm_video/1600877027330064385/vid
/21000/24000/320x180/gs-8pNvThX_1kjx0.m4s " > ia-08.m4s
curl -L
"https://web.archive.org/web/20221208194342id_/https://video.twimg.com/dm_video/1600877027330064385/vid
/24000/27000/320x180/f1UDV6NW3odTL-ux.m4s " > ia-09.m4s
curl -L
"https://web.archive.org/web/20221208194342id_/https://video.twimg.com/dm_video/1600877027330064385/vid
/27000/30000/320x180/9hFdPsP3QYV8c130.m4s " > ia-10.m4s
curl -L
"https://web.archive.org/web/20221208194342id_/https://video.twimg.com/dm_video/1600877027330064385/vid
/30000/32100/320x180/yFOkibojJs9PWhkX.m4s " > ia-11.m4s
% ./run-me-ia.sh
curl -L
https://web.archive.org/web/20221208194342id_/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
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
100 1130 100 1130 0 0 255 0 0:00:04 0:00:04 --:--:-- 3434
curl -L
https://web.archive.org/web/20221208194342id_/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
0 00 000 0 0 --:--:-- --:--:-- --:--:-- 0
100 37919 100 37919 0 0 18143 0 0:00:02 0:00:02 --:--:-- 77071
curl -L https://web.archive.org/web/20221208194342id_/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
0 00 000 0 0 --:--:-- --:--:-- --:--:-- 0
100 35423 100 35423 0 0 17355 0 0:00:02 0:00:02 --:--:-- 96520
curl -L https://web.archive.org/web/20221208194342id_/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
0 00 000 0 0 --:--:-- 0:00:01 --:--:-- 0
100 36960 100 36960 0 0 16332 0 0:00:02 0:00:02 --:--:-- 16332
curl -L https://web.archive.org/web/20221208194342id_/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
0 00 000 0 0 --:--:-- 0:00:01 --:--:-- 0
100 43395 100 43395 0 0 24094 0 0:00:01 0:00:01 --:--:-- 24094
curl -L https://web.archive.org/web/20221208194342id_/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
0 00 000 0 0 --:--:-- --:--:-- --:--:-- 0
100 47333 100 47333 0 0 34676 0 0:00:01 0:00:01 --:--:-- 276k
curl -L https://web.archive.org/web/20221208194342id_/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
0 00 000 0 0 --:--:-- 0:00:02 --:--:-- 0
100 41711 100 41711 0 0 14407 0 0:00:02 0:00:02 --:--:-- 0
curl -L https://web.archive.org/web/20221208194342id_/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
0 00 000 0 0 --:--:-- --:--:-- --:--:-- 0
100 38884 100 38884 0 0 24957 0 0:00:01 0:00:01 --:--:-- 303k
curl -L https://web.archive.org/web/20221208194342id_/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
0 00 000 0 0 --:--:-- 0:00:01 --:--:-- 0
100 36449 100 36449 0 0 19596 0 0:00:01 0:00:01 --:--:-- 348k
curl -L https://web.archive.org/web/20221208194342id_/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
0 00 000 0 0 --:--:-- 0:00:02 --:--:-- 0
100 32279 100 32279 0 0 8039 0 0:00:04 0:00:04 --:--:-- 91962
curl -L https://web.archive.org/web/20221208194342id_/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
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 32413 100 32413 0 0 9866 0 0:00:03 0:00:03 --:--:-- 45080
curl -L
https://web.archive.org/web/20221208194342id_/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 13790 0 0:00:01 0:00:01 --:--:-- 13782
% ls -l ia-??.*
-rw-r--r-- 1 mln2 staff 1130 Dec 8 14:51 ia-00.mp4
-rw-r--r-- 1 mln2 staff 37919 Dec 8 14:52 ia-01.m4s
-rw-r--r-- 1 mln2 staff 35423 Dec 8 14:52 ia-02.m4s
-rw-r--r-- 1 mln2 staff 36960 Dec 8 14:52 ia-03.m4s
-rw-r--r-- 1 mln2 staff 43395 Dec 8 14:52 ia-04.m4s
-rw-r--r-- 1 mln2 staff 47333 Dec 8 14:52 ia-05.m4s
-rw-r--r-- 1 mln2 staff 41711 Dec 8 14:52 ia-06.m4s
-rw-r--r-- 1 mln2 staff 38884 Dec 8 14:52 ia-07.m4s
-rw-r--r-- 1 mln2 staff 36449 Dec 8 14:52 ia-08.m4s
-rw-r--r-- 1 mln2 staff 32279 Dec 8 14:52 ia-09.m4s
-rw-r--r-- 1 mln2 staff 32413 Dec 8 14:52 ia-10.m4s
-rw-r--r-- 1 mln2 staff 22617 Dec 8 14:52 ia-11.m4s
% cat ia-00.mp4 ia-*m4s > ia-wk-bk-dm-video.mp4
% ls -l wk-bk-dm-video.mp4 ia-wk-bk-dm-video.mp4
-rw-r--r-- 1 mln2 staff 406513 Dec 8 14:52 ia-wk-bk-dm-video.mp4
-rw-r--r--@ 1 mln2 staff 406513 Dec 8 11:32 wk-bk-dm-video.mp4
% diff -s wk-bk-dm-video.mp4 ia-wk-bk-dm-video.mp4
Files wk-bk-dm-video.mp4 and ia-wk-bk-dm-video.mp4 are identical
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment