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

[extractor/twitter] fix extraction through rest api on links to retweet id #6422

Merged
merged 3 commits into from
Mar 4, 2023

Conversation

selfisekai
Copy link
Contributor

IMPORTANT: PRs without the template will be CLOSED

Description of your pull request and other information

a retweet has its own id. with recent lack of quality assurance, the "[someone] liked your retweet" notifications are now pointing to the id of the retweet, instead of id of the post.

with this change, extractor looks for the retweeted tweet, which is contained inside the response under "retweeted_tweet" key.

Template

Before submitting a pull request make sure you have:

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

  • I am the original author of this code and I am willing to release it under Unlicense
  • I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

…et id

a retweet has its own id. with recent lack of quality assurance,
the "[someone] liked your retweet" notifications are now pointing
to the id of the retweet, instead of id of the post.

with this change, extractor looks for the retweeted tweet, which
is contained inside the response under "retweeted_tweet" key.
@pukkandan pukkandan merged commit cf60522 into yt-dlp:master Mar 4, 2023
aalsuwaidi pushed a commit to aalsuwaidi/yt-dlp that referenced this pull request Apr 21, 2024
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.

2 participants