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] apply tweet type checks before uniqueness check #3455

Merged
merged 2 commits into from
Jan 6, 2023

Conversation

ClosedPort22
Copy link
Contributor

@ClosedPort22 ClosedPort22 commented Dec 24, 2022

Resolves #3439 (although this is technically a separate issue).

See also: #3439 (comment), 1d14928

Do not consider a tweet seen before applying 'retweet', 'quote' and
'reply' checks. Otherwise the original tweets will also be skipped if
the "derivative" tweets and the original tweets are from the same user.
@ClosedPort22 ClosedPort22 marked this pull request as ready for review December 24, 2022 13:49
@ClosedPort22
Copy link
Contributor Author

ClosedPort22 commented Dec 25, 2022

Here's the verbose output of gallery-dl --no-download -o quoted=false -o cookies=cookies.txt https://twitter.com/xinzoruo/with_replies running on 250d351 and 2d7d80d:

250d3510.log
2d7d80d3.log

The former successfully grabbed the original tweets.

@@ -2691,6 +2691,13 @@ Default
Description
Fetch media from quoted Tweets.

If the value is ``true``, then gallery-dl will try to fetch
the quoted (original) Tweet when it sees the Tweet which quotes it.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically this is not what really happens, since Twitter's API returns both the quoting and the quoted tweet, and gallery-dl simply discards or accepts the quoted tweet depending on quoted. But I think it's easier to understand.

@mikf mikf merged commit 5d5ea58 into mikf:master Jan 6, 2023
@ClosedPort22 ClosedPort22 deleted the twitter-skip-quoted branch January 6, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

twitter bug - gy-dl v1.24.2 skips some posts omitting unique images, gives a reason "quoted tweet"
2 participants