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

Allow access to restricted content using YouTube login cookie. #13

Open
6 tasks done
funsafe-ptr opened this issue Dec 24, 2024 · 6 comments
Open
6 tasks done

Allow access to restricted content using YouTube login cookie. #13

funsafe-ptr opened this issue Dec 24, 2024 · 6 comments
Labels
enhancement New feature or request extended issues/PRs that related with extended version

Comments

@funsafe-ptr
Copy link

funsafe-ptr commented Dec 24, 2024

Checklist

  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I'm aware that this is a request for Tubular itself and that requests for adding a new service need to be made in vanilla NewPipeExtractor.
  • I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the vanilla NewPipe contribution guidelines.

Feature description

Allow access to restricted content using YouTube login cookie. And use the cookie only if required.

Why do you want this feature?

YouTube now requires an account to access restricted content.

Why ist the feature relevant to this fork?

Upstream issue marked "wontfix".
TeamNewPipe/NewPipe#11382

Additional information

https://codeberg.org/NullPointerException/PipePipeClient/src/branch/dev/app/src/main/java/org/schabi/newpipe/settings/YouTubeAccountSettingsFragment.java
https://codeberg.org/NullPointerException/PipePipeClient/src/branch/dev/app/src/main/java/org/schabi/newpipe/views/YouTubeLoginWebViewActivity.java
https://codeberg.org/NullPointerException/PipePipeExtractor

Like you said, PipePipe is a hard fork and might be tough to merge. 😓
It looks like PipePipe is using yt-dlp, so maybe no? 🤔

Anyway, I don’t know much Java, and I’m using my phone 📱, so I’m not sure how much I can help. 😕

@asandikci asandikci added enhancement New feature or request extended issues/PRs that related with extended version labels Dec 24, 2024
@asandikci asandikci pinned this issue Dec 27, 2024
@asandikci
Copy link
Member

asandikci commented Jan 10, 2025

Could anyone try the YT login in PipePipe (previous versions than 4.1.0) to see if it solves IP ban / 403 problem? (#12)

@funsafe-ptr
Copy link
Author

Yes, I think? I can play restricted content 🔒 until the end, for more than 1 minute. Normal content shows a 403 error as usual after more than 1 minute. I'm using downgraded PipePipe 4.0.2.

@asandikci
Copy link
Member

asandikci commented Jan 12, 2025

Are trying normal content with or without YT login?

@funsafe-ptr
Copy link
Author

I think PipePipe 4.0.2 is using yt-dlp only as a fallback? 🤔 It loads fast for normal content, just like the usual NewPipe 🚀, but it's slow to load 🐢 for restricted content, similar to normal content in the latest version.

@funsafe-ptr
Copy link
Author

Now, even with a VPN, after a few hours, it requires me to log in to prove I'm not a bot 😩

@jimbattun
Copy link

Could anyone try the YT login in PipePipe (previous versions than 4.1.0) to see if it solves IP ban / 403 problem? (#12)

I tested PipePipe 4.1.0, and without signing in to YouTube, I encountered the error: "Your IP has been temporarily blocked by YouTube. For a period of time, you will experience issues when playing certain videos." After signing in via Settings → Accounts → YouTube, the videos started playing normally. The only issue I noticed was the loading speed—after clicking on a video, playback starts after approximately 10 seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request extended issues/PRs that related with extended version
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants