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

[bitchute] Add additional fallback subdomains #6907

Merged
merged 1 commit into from Apr 25, 2023

Conversation

Neurognostic
Copy link
Contributor

Description of your pull request and other information

On some video pages the seed* subdomain returned is invalid. This is a workaround for broken Bitchute pages (it is also broken in a web browser).

For example:

yt-dlp https://www.bitchute.com/video/IY0H2LkbpfnK/

Will fetch the url:

https://seed191.bitchute.com/SIxxyuOpyzP9/IY0H2LkbpfnK.mp4

Which is invalid and subsequently try the current hardcoded fallback subdomains which also fail.

This patch adds additional [tested] subdomains to use as fallback when the page returns an invalid url.

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?

On some video pages the seed* subdomain returned is invalid. This is a
workaround for broken Bitchute pages. For example:

```shell
yt-dlp https://www.bitchute.com/video/IY0H2LkbpfnK/
```

Will fetch the url:

```
https://seed191.bitchute.com/SIxxyuOpyzP9/IY0H2LkbpfnK.mp4
```

Which is invalid and subsequently try the current hardcoded fallback
subdomains which also fail.

This patch adds additional [tested] subdomains to use as fallback when
the page returns an invalid url.
@pukkandan pukkandan merged commit 0c4e0fb into yt-dlp:master Apr 25, 2023
11 checks passed
@Neurognostic Neurognostic deleted the bitchute-fix branch April 26, 2023 17:27
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.

None yet

2 participants