Git Product home page Git Product logo

Comments (3)

drunkwinter avatar drunkwinter commented on June 3, 2024

Hi, that's really weird.. I don't see how injecting early could cause such a problem. Usually something like that happens when injection is late, because by that time our interceptors would have missed the important data to trigger the bypass.

Edit: actually in that case YT should just do it's thing, it's kind of suspicious that the screen turns black.

Does this also happen with normal videos which aren't restricted, how can I test this?

from simple-youtube-age-restriction-bypass.

MiepHD avatar MiepHD commented on June 3, 2024

Yeah, it happens with all videos. You can test it by downloading the latest release and enabling the age-restriction-bypass on the top left. After that you may need to restart the app.
https://github.com/th-ch/youtube-music/releases/tag/v1.20.0

from simple-youtube-age-restriction-bypass.

drunkwinter avatar drunkwinter commented on June 3, 2024

You guys should be able to fix this by commenting out this line in a separate fork:

interceptors.attachInitialDataInterceptor(processYtData);

Removing the line above shouldn't have any impact on the functionality of the age bypass on YT Music.

The actual bug occurs in the function interceptObjectProperty, only on Electron and I don't know why. With a big refactor coming up soon, this hacky function won't be used anyway, so it's not worth spending time fixing it.

I'll update this issue when the refactor is done so you guys can drop the fork.

from simple-youtube-age-restriction-bypass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.