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

Update iOS client and add random visitor data to requests #865

Merged
merged 3 commits into from
Jan 25, 2025

Conversation

Ales315
Copy link
Contributor

@Ales315 Ales315 commented Jan 24, 2025

As mentioned in #794 (comment) NewPipe fixed the issue by adding random visitor data to the InnerTube request. This is a translation from java of their fix.

Closes #794

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

YoutubeExplode/Utils/YoutubeParsingHelper.cs:13

  • Ensure that the random visitor data generation logic is covered by unit tests to verify its correctness.
public static string GetRandomVisitorData()
@Tyrrrz
Copy link
Owner

Tyrrrz commented Jan 25, 2025

Thanks for the PR! I'll make some cosmetic changes and release it.

@Tyrrrz Tyrrrz changed the title Update ios client and add random visitor data to requests Update iOS client and add random visitor data to requests Jan 25, 2025
@Tyrrrz Tyrrrz merged commit 5690324 into Tyrrrz:master Jan 25, 2025
7 checks passed
@Tyrrrz
Copy link
Owner

Tyrrrz commented Jan 25, 2025

@Ales315 can you please also link me to the relevant NewPipe code you used as inspiration, so I can credit the authors as well?

@Ales315
Copy link
Contributor Author

Ales315 commented Jan 26, 2025

Sure, the PR is this one TeamNewPipe/NewPipeExtractor#1262

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New anti-bot blocker on Youtube prevents to get video manifests (Sign in to confirm you’re not a bot)
2 participants