mmpx12 / twitter-media-downloader

twmd: CLI/GUI Apiless twitter downlaoder. Download medias from single tweet or a whole profile.
625 stars 73 forks source link

Download does not run and there are no errors #31

Closed RX350F closed 12 months ago

RX350F commented 12 months ago

twmd -u 5percent_Dora -o C:\ -v -n 1

When I run the above with CMD, an empty folder called C:\5percent_Dora/video is simply created in the specified directory, and no download is performed. No error messages are displayed either.

It just shows ASCII art.

I tried changing the output destination directory, changing the specified account, and reinstalling, but the problem was not resolved.

Installation was performed using the following steps. (This is a Japanese web page. Please use Google Translate if you need to refer to it.) https://gigazine.net/news/20231023-twitter-media-downloader/

mmpx12 commented 12 months ago

I update the version so try again with v1.11.2 ... Also -n1 while take the first tweet of the account not the first tweet with picture or videos so use something like -n 50

RX350F commented 12 months ago

This issue is closed and there is no problem.

I tried again with v1.11.2 and it worked. I read somewhere that the -n option counts tweets that don't include media, but I forgot.

However, the limitations of twitter-scraper lib are troublesome. When run against an account with 758 tweets (all tweets with media), only 25 files were downloaded. It is not downloaded from the latest 25 tweets, and there seems to be no regularity in the files being downloaded.

In the end, it seems like the only option is to have chatgpt write a script that collects the URLs of the media tweet list into txt files using web scraping as before. It's all Elon Musk's fault...

RX350F commented 12 months ago

@mmpx12 thx