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

[FEATURE] Batch download media from Bookmarks #137

Open
nullbunny opened this issue Feb 13, 2024 · 8 comments
Open

[FEATURE] Batch download media from Bookmarks #137

nullbunny opened this issue Feb 13, 2024 · 8 comments
Labels
enhancement New feature or request
Milestone

Comments

@nullbunny
Copy link

Is your feature request related to a problem? Please describe.

I often bookmark things on my phone that I want to later download back on the PC. It would be nice to have a button that schedules out downloads of bookmarked things.

Describe the solution you'd like

I go to the Bookmarks section of Twitter/X and there is a button at the top to download all bookmarked media.

Describe alternatives you've considered

Going though the bookmarks one by one, downloading each one in turn and removing them from the bookmarks.

@nullbunny nullbunny added the enhancement New feature or request label Feb 13, 2024
@EltonChou
Copy link
Owner

Thanks for your suggestion.

It looks like this feature is more realistic than scraping all medias from certain account.
I think I can implement this in v5.x.x.

If you have more ideas about this feature. Feel free to share.

@nullbunny
Copy link
Author

That would be awesome, thank you so much!

@EltonChou EltonChou added this to the v5.0.0 milestone Feb 14, 2024
@shejiajie
Copy link

It is really excited that you want to add this feature, I used to use another addon which has this feature, as some reason the author stop to support it, I am very happy that you will add this feature/

It is called twMediaDownloader but the author has delete it on github

@MtZero
Copy link

MtZero commented May 19, 2024

Thanks for your suggestion.

It looks like this feature is more realistic than scraping all medias from certain account. I think I can implement this in v5.x.x.

If you have more ideas about this feature. Feel free to share.

A deleted extension and github repo named Twitter Media Downloader author by @furyutei can scrape all media from an account, returning a zip file.

@MtZero
Copy link

MtZero commented May 19, 2024

I found it on my old pc
twitter_media_downloader.zip

@EltonChou
Copy link
Owner

An extension is not a good place to do batch download job.

@hychanbn1009
Copy link

Hi @EltonChou, I'm interested in adding a batch download feature to the project. While looking through the code, I noticed you are using the twitter-openapi endpoint for TweetDetails. I was wondering if it would be possible to use the UserMedia endpoint instead to download multiple media files in one request?

I tried making a request to the UserMedia endpoint in Postman but it didn't return all the media objects.

@EltonChou
Copy link
Owner

Hi @EltonChou, I'm interested in adding a batch download feature to the project. While looking through the code, I noticed you are using the twitter-openapi endpoint for TweetDetails. I was wondering if it would be possible to use the UserMedia endpoint instead to download multiple media files in one request?

I tried making a request to the UserMedia endpoint in Postman but it didn't return all the media objects.

Twitter's api endpoint is little tricky.
I will experimentally implement batch-donwload from bookmarks or likes in v5.0.0.
The codebase is refactoring now. I will ping you when the refactoring is done, so you can have a reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

5 participants