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
[youporn] Fix extraction of metadata #2768
Conversation
Outdated
|
This comment was marked as outdated.
This comment was marked as outdated.
a63ff77
to
b14d523
Compare
#2701 has been fixed in a different way, so only the site enhancements is remaining from this PR |
2481be8
to
85faa13
Compare
But that would always execute all these extractions, even if they are not necessary? |
Is that an issue? |
It's a lot of possibly unneeded string matching for in my opinion not much of a style improvement. Well. What do you want it to look like? data = merge_dicts(data, { 'title': self._html_search_regex(
// …
)}) |
Ive pushed some changes. pls add a test |
Actually, I just realized that the whole PR is really just one line. Everything else is unnecessary changes! |
Alright, I squashed the commits. |
That was not necessary. Pls avoid force pushing in future
? |
Is that documented somewhere? Most projects I know strongly encourage cleaning up commits in PRs. |
No
It makes reviewing harder. And we squash and merge anyway |
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 one of the following options:
What is the purpose of your pull request?
Closes #2701. Youporn sends a JS challenge with TLS1.3-