Credits goes to FarisHijazi/TwitterDownloader
❗ MAKE SURE TO UNTICK Ask where to save each file before downloading
in chrome://settings/downloads (idk where it is in firefox) ❗
- copy the content of index.js
- go to https://twitter.com/i/bookmarks
- press F12
- go into console if necessary
- paste into the devtool console
- profit
- go to https://twitter.com/i/bookmarks
- press F12
- go to network
- scroll your bookmarks until you can't no more
- export HAR
grep -Po "https.+?(?=\?format=jpg&name)" file.har > jpgmedia
sort finish | uniq > jpgmedia.uniq
- clean up the file & add
?format=jpg&name=orig
at the end of each media line aria2c -j20 jpgmedia.uniq