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

[Instagram] improve title extraction and add duration for IGTV #28469

Merged
merged 2 commits into from
Mar 29, 2021

Conversation

Brodan
Copy link

@Brodan Brodan commented Mar 16, 2021

Before submitting a pull request make sure you have:

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

  • 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?

  • Bug fix
  • Improvement
  • New extractor
  • New feature

Description of your pull request and other information

This PR updates the Instagram info extractor to include a duration field and improve how the title field is set. Duration is available on the media but is not currently being returned by the info extractor. Additionally, the title field is now set directly from the title of the video in the case of IGTV, otherwise it falls back on the existing title logic.
An IGTV link has been added to the Instagram extractors tests list to cover this.

@Brodan Brodan changed the title improve title extraction and duration for Instagmam/IGTV improve title extraction and add duration for Instagram/IGTV Mar 16, 2021
@Brodan Brodan changed the title improve title extraction and add duration for Instagram/IGTV [Instagram] improve title extraction and add duration for IGTV Mar 18, 2021
@dstftw dstftw merged commit da762c4 into ytdl-org:master Mar 29, 2021
github-actions bot added a commit to hellopony/youtube-dl that referenced this pull request Mar 29, 2021
leshasmlesha pushed a commit to leshasmlesha/youtube-dl that referenced this pull request Apr 3, 2021
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