Comments (13)
thank you. Either way, this is better than the original. I appreciate all your work on this!!!
from youtubeexplode.
from youtubeexplode.
Can I help at all? What do you need to test?
from youtubeexplode.
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.
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.
The value of response
, not sts
:p
from youtubeexplode.
Below are the responses from each try. Let me know what else you need.
from youtubeexplode.
Interesting, looks like Youtube doesn't serve the embedded player even after retries...
from youtubeexplode.
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 thesrc
ends withbase.js
. The version in this case isvfl2iVoNh/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.
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.
okay, I will let you know.
from youtubeexplode.
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.
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)
- Cannot get stream manifest of a video that is still being processed HOT 8
- Search feature crashes on mobile devices HOT 1
- Audio files are downloaded as WebM, Mp3 does not work HOT 3
- Using a live video URL throws an exception
- 403 (Forbidden) HOT 1
- Occasionally streams just dies HOT 13
- Streams are sometimes unstable
- Exception "Could not extract video upload date" with specific video
- GetVideosAsync does not return all videos of a playlist
- GetManifestAsync silent crash on Android HOT 9
- YoutubeExplode failed to fetch video HOT 1
- Closed captions that erroneously contain valid SRT segments within them break when processing with FFmpeg HOT 1
- Closed captions that contain invalid offsets and/or durations break when processing with FFmpeg
- Some streams can return 404 HOT 4
- Getting `System.Net.CookieException` on some requests HOT 6
- Invalid Youtube Video ID or URL error
- Searching fails when encountering pay-to-watch videos HOT 4
- Video downloads, but only audio, no video HOT 30
- Download private video by passing list of cookies, bit got 401
- 500 error when calling GetManifestAsync HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from youtubeexplode.