Skip to content

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

Copy link

Copilot AI left a comment

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

@rkrehn
Copy link

rkrehn commented Jan 28, 2025

Thank you @Ales315!!!

@ArtemRuticker
Copy link

ArtemRuticker commented Jan 31, 2025

unfortunately worked just a few days

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 (Video unavailable: Sign in to confirm you’re not a bot)

4 participants