Skip to content

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

Merged
Tyrrrz merged 3 commits into
Tyrrrz:masterfrom
Ales315:master
Jan 25, 2025
Merged

Tyrrrz merged 3 commits into
Tyrrrz:masterfrom
Ales315:master

Conversation

@Ales315

@Ales315 Ales315 commented Jan 24, 2025

Copy link
Copy Markdown
Contributor

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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

Tyrrrz commented Jan 25, 2025

Copy link
Copy Markdown
Owner

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
@Tyrrrz

Tyrrrz commented Jan 25, 2025

Copy link
Copy Markdown
Owner

@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

Ales315 commented Jan 26, 2025

Copy link
Copy Markdown
Contributor Author

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

@rkrehn

rkrehn commented Jan 28, 2025

Copy link
Copy Markdown

Thank you @Ales315!!!

@ArtemRuticker

ArtemRuticker commented Jan 31, 2025 •

Copy link
Copy Markdown

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)

5 participants