Comments (4)
Note that the ipv6 versus ipv4 is not the only reason you might get errors from the resulting googlevideo.com url.
That said, the urls I get do usually have my ipv6 address in them, like:
http://r6---sn-p5qlsn7s.googlevideo.com/videoplayback?initcwndbps=3887000&ipbits=0&mm=31&fexp=900233&id=o-APyyqIcoIBHtN53kXjhF0Tb0Dm-N9s9_49IBI3w5god0&key=yt5&source=youtube&mv=m&ms=au&ip=2600:3c03::e03c:91fe:fe70:f2d0&mt=1410097771&signature=CBD7363B1793F228B2F31F06F4981A922FB6EE4F.7C5A1E8B2743C20BF85ABFC71BEBDFD56EB5D920&gcr=us&itag=36&upn=8uV6fboK14g&expire=1410119401&sparams=gcr,id,initcwndbps,ip,ipbits,itag,mm,ms,mv,source,upn,expire&sver=3&signature=
(I cut some stuff from that url, but not the ip=2600:3c03::e03c:91fe:fe70:f2d0
bit is the key).
The question isn't getting the http server to use ipv6, but whether or not curl on your server can reach google via ipv6, and will use that path over the ipv4 path (as I understand it).
See lines 14-15 of curl.php:
/* if you want to force to ipv6, uncomment the following line */
//curl_setopt( $ch , CURLOPT_IPRESOLVE , 'CURLOPT_IPRESOLVE_V6');
Try uncommenting that curl_setopt line - removing the // from the beginning, so that it reads:
curl_setopt( $ch , CURLOPT_IPRESOLVE , 'CURLOPT_IPRESOLVE_V6');
and see if that helps - that should force curl to use the ipv6 version of the url.
from youtube-downloader.
ok thank you.
the problem occurs only to some users of my website, and not for me. I share the same internet connection as my server. i was not able to reproduce on my computer the blank screen that some visitors had on my website.
One of the visitors gave me the url of his white screen browser's window.
the ip on it is strange : &ip=2a01%3Ae35%3A2ea2%3A9660%3A80f2%3A9adc%3A3c82%3A8181
i've made the change on curl.php and i will see if this problem still happens.
Thank you very much!
from youtube-downloader.
That's a urlencoded version of your ipv6 ip: ip=2a01:e35:2ea2:9660:80f2:9adc:3c82:8181
My guess is that if others are getting errors it is either because they are trying to download videos not available in their region or video ids that are somehow encrypted.
In other words, I don't think it is the ipv6 issue since it looks to me like yours is ipv6
from youtube-downloader.
Hello Jeckman,
Thank you for YouTube-Downloader ,
I have an issue , and will be glad if you will help me,
When I am downloading videos from youtube in my local server it download each video , but in live server it download a few videos and doesn't download others which I can download in my local server.
Thank you very much.
from youtube-downloader.
Related Issues (20)
- save links HOT 1
- Convert and Download to .mp3 not working HOT 2
- is blocked by google Cross-Origin Read Blocking (CORB)
- No longer working HOT 6
- This youtube downloader is as good as dead HOT 1
- main channel thumbnail not displaying HOT 3
- Is the signature dechipher function recently changed?
- No format stream map found - was the video id correct? HOT 1
- Video IDs containing an underscore are not supported HOT 1
- Error in video ID: HTTP is not supported. HOT 10
- HTTP ERROR 500
- SSL Certificate problem
- Uncaught exception 'Exception' with message '<url> malformed' HOT 1
- Youtu.be url is not working
- CurlClient.php:203 Stack trace: #0 line 308 HOT 2
- How to change Youtube API key?
- this script is unable to download some of the youtube videos HOT 1
- Hi my problem first run url HOT 1
- OpenSSL Error messages: error:14095126 unexpected eof while reading HOT 1
- Problem while downloading youtube videos HOT 1
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 youtube-downloader.