Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitter "following" page support #1337

Closed
kattjevfel opened this issue Feb 22, 2021 · 5 comments
Closed

Twitter "following" page support #1337

kattjevfel opened this issue Feb 22, 2021 · 5 comments

Comments

@kattjevfel
Copy link
Contributor

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.

@Fukitsu
Copy link

Fukitsu commented Feb 23, 2021

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

@mikf
Copy link
Owner

mikf commented Feb 24, 2021

de06569 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?

@kattjevfel
Copy link
Contributor Author

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

@Fukitsu
Copy link

Fukitsu commented Feb 24, 2021

I'd like support for /media if possible

@mikf
Copy link
Owner

mikf commented Mar 18, 2021

There is now a users option to select the output format for extractors that produce user results (3378b39):

$ 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants