Giter Club home page Giter Club logo

Comments (13)

spoiledtechie avatar spoiledtechie commented on May 11, 2024 1

thank you. Either way, this is better than the original. I appreciate all your work on this!!!

from youtubeexplode.

Tyrrrz avatar Tyrrrz commented on May 11, 2024

2017-08-27 00_47_47- 1 an american in paris - youtube
Can anyone else test?

from youtubeexplode.

spoiledtechie avatar spoiledtechie commented on May 11, 2024

Can I help at all? What do you need to test?

from youtubeexplode.

Tyrrrz avatar Tyrrrz commented on May 11, 2024

You can:

  • Clone the repo
  • Set a breakpoint here
  • Use DemoConsole on your video
  • Post the value of response here. It's ran in a loop so there will be up to 10 values, post the distinct ones.

from youtubeexplode.

spoiledtechie avatar spoiledtechie commented on May 11, 2024

It did loop like you said. The only distinct value was this.

17403

Let me know what I need or should do next. Here to help.

from youtubeexplode.

Tyrrrz avatar Tyrrrz commented on May 11, 2024

The value of response, not sts :p

from youtubeexplode.

spoiledtechie avatar spoiledtechie commented on May 11, 2024

Below are the responses from each try. Let me know what else you need.

https://pastebin.com/NmL4KRVz

https://pastebin.com/sqXCcmxi

https://pastebin.com/jaM4EiFw

https://pastebin.com/4BSmhd91

https://pastebin.com/rMLwDGL8

https://pastebin.com/1pPqNy60

https://pastebin.com/NM1Uzdbn

https://pastebin.com/1MrH32qz

https://pastebin.com/redfrJZN

https://pastebin.com/CxSyVP2Y

from youtubeexplode.

Tyrrrz avatar Tyrrrz commented on May 11, 2024

Interesting, looks like Youtube doesn't serve the embedded player even after retries...

from youtubeexplode.

Tyrrrz avatar Tyrrrz commented on May 11, 2024

Ok try this now:

  • Put a breakpoint here
  • Go to https://www.youtube.com/embed/j1Ele6QzvmM
  • Find the player version, it should be inside a tag that looks like this
    <script src="/yts/jsbin/player-vfl2iVoNh/en_US/base.js" name="player/base" ></script>.
    Make sure the src ends with base.js. The version in this case is vfl2iVoNh/en_US, yours will be different probably.
  • The version variable will be blank, you will need to set it to whatever version you extracted manually in the previous step.
  • Exit break state by pressing continue and see what happens.

I want to know if the video is actually parseable past this point, because for me it throws an exception later that the video is not available in my country.

from youtubeexplode.

Tyrrrz avatar Tyrrrz commented on May 11, 2024

Ok scratch that. Just pull master branch and check if it works on your video. I changed the parsing algorithm for player context.

from youtubeexplode.

spoiledtechie avatar spoiledtechie commented on May 11, 2024

okay, I will let you know.

from youtubeexplode.

spoiledtechie avatar spoiledtechie commented on May 11, 2024

This is the new error.

YoutubeExplode.Exceptions.VideoRequiresPurchaseException: 'The video is a paid Youtube Red video and cannot be processed'

This is much better than not finding the player context and is usable by us. Is there anyway to get the preview video at least?

There is a preview video that plays instead of the real video. Can you obtain the preview if it is a Youtube Red video?

from youtubeexplode.

Tyrrrz avatar Tyrrrz commented on May 11, 2024

Okay.
I created a different issue related to that - #54 and I'm going to close this one since it branched off.
For now it's impossible to get the preview video and I'm not sure how difficult it is. Regardless, I will push the new nuget tomorrow, with today's changes.

from youtubeexplode.

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.