Waqas Ibrahim
Waqas Ibrahim
You are not using ytdl properly, after extracting video information you should use `chooseFormat` method to get audio and video urls. What you are doing will get video info and...
@eric-mathison Were you able to make requests from a blocked IP?
![Screenshot_20200818_130349](https://user-images.githubusercontent.com/12554146/90487312-bbf2ad00-e153-11ea-9c02-345c3cbc95cc.png) Does not seem to work on a server that's already blocked. ![Screenshot_20200818_131032](https://user-images.githubusercontent.com/12554146/90487762-5652f080-e154-11ea-94b2-35cd3eac4129.png) Edit: Same request works fine in Postman.
@fent Those are standard headers, I generated the curl command using postman. **Update:** I disabled IPv6 on the server. Without headers and cookie: ![Screenshot_20200818_192330](https://user-images.githubusercontent.com/12554146/90525858-25d97980-e189-11ea-8723-88cf54c9b506.png) With headers and cookie ![Screenshot_20200818_192106](https://user-images.githubusercontent.com/12554146/90525870-2bcf5a80-e189-11ea-98be-db8230d6679c.png) **Update...
@eric-mathison `get_video_info` seems to be working but watch page URL is used first. `get_video_info` is a fallback URL.
@dogzhang, It still doesn't work if I use autocomplete for `class` keyword. Also the link seems to be broken.
Did anyone solve this issue? Facing the same problem.
Thanks @foo-baar and @SBoudrias, I was looking for ghost theme generator but most used one was update a year ago. I might try to write a generator myself.
https://github.com/fent/node-ytdl-core/blob/master/example/proxy.js You can pass a custom http agent in request options.
https://github.com/fent/node-ytdl-core/blob/master/example/proxy.js Look at this example.