Gallery-dl: Twitter "following" page support

Created on 22 Feb 2021  路  5Comments  路  Source: mikf/gallery-dl

Currently I have a huge array in a bash scripts to keep track of what twitter accounts I want to archive, but with my bad memory I keep forgetting to add new accounts I follow etc.

Ideally I'd like if https://twitter.com/username/following would be supported by gallery-dl (like it is with newgrounds)
This page isn't accessible without being logged in, but seeing how gallery-dl supports logging in, it shouldn't be a problem.

site-feature-request

Most helpful comment

I'd like support for /media if possible

All 5 comments

I'd like this feature too, I currently have the ones I scrape in a text file but sometimes users change their username

https://github.com/mikf/gallery-dl/commit/de0656941bfd3593fe334782e6ad22bb1c7e3e3c adds support for /following pages, although it outputs users as https://twitter.com/i/user/<ID>, i.e. URLs for the regular timeline. Is this OK or should there also be an option to change that to /media URLs etc?

I'm not sure what the difference would be, I always download using https://twitter.com/user.
Either way I just tried gallery-dl https://twitter.com/username/following --abort 5 and it works excellent! It also shows me my memory is even worse than I thought :x

I'd like support for /media if possible

There is now a users option to select the output format for extractors that produce user results (https://github.com/mikf/gallery-dl/commit/3378b397193671cb8bc3b0f00afa192baa5c3e32):

$ gallery-dl -g -o users=media https://twitter.com/username/following
https://twitter.com/id:123/media
https://twitter.com/id:234/media
https://twitter.com/id:345/media
...

The /media URLs aren't functional in a browser, but work with gallery-dl. Maybe the option should also allow specifying a custom URL format?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kattjevfel picture kattjevfel  路  6Comments

OvertPerson picture OvertPerson  路  5Comments

indrakaw picture indrakaw  路  4Comments

thisisamericalolxdmdrrrrddds picture thisisamericalolxdmdrrrrddds  路  6Comments

CaptainJawZ picture CaptainJawZ  路  5Comments