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

[weibo]How to filter videos or images reposted by bloggers? #4872

Closed
benaify opened this issue Dec 2, 2023 · 5 comments
Closed

[weibo]How to filter videos or images reposted by bloggers? #4872

benaify opened this issue Dec 2, 2023 · 5 comments

Comments

@benaify
Copy link

benaify commented Dec 2, 2023

Want to only capture original images and videos from bloggers.
2023-12-4 8-5-4

@Vladimir-russian
Copy link

For a general filter by filename extension: --filter "extension in ('jpg', 'jpeg', 'png')"

@benaify
Copy link
Author

benaify commented Dec 3, 2023

For a general filter by filename extension: --filter "extension in ('jpg', 'jpeg', 'png')"对于按文件扩展名进行常规过滤: --filter "extension in ('jpg', 'jpeg', 'png')"

对于按文件扩展名进行常规过滤: --filter "extension in ('jpg', 'jpeg', 'png')"

What I mean is to filter out bloggers reposting other people's videos and images, because by default, gallery dl will download them together, causing confusion, and these are not what I want.

@Hrxn
Copy link
Contributor

Hrxn commented Dec 4, 2023

Okay, you mean basically an option equivalent to "extractor.tumblr.reblogs", yes?

@mikf
Copy link
Owner

mikf commented Dec 4, 2023

If it's just that, disable retweets for weibo, although this might not work for all retweets: #3874

@benaify
Copy link
Author

benaify commented Dec 4, 2023

If it's just that, disable 如果只是这样,请禁用retweets for weibo, although this might not work for all retweets: 微博,尽管这可能不适用于所有转发: #3874#3874

如果只是这样,请禁用"retweets"微博,尽管这可能不适用于所有转发: #3874

Thank you! "retweets": false and Modify extractor/weibo.py line 64 I tried this method, but the crawling process became slow and automatically ended after downloading a few files, making it impossible to download anything else. I hope there will be better solutions in the future.

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

4 participants