Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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

@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

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
4 participants