youtube-video-downloader's People
Forkers
quangpl retsu8 keyfun rodrigoespinozadev abhijitkumar3 creatigent minitool nvisal1 chazie9 turkmvc narayan-ns26 heeropunjabi smartprogrammers2019 jai2812 odixon tals012 alexsokolovby2019 nkorsman xadk aronhailu arxyma mehmetzantur xarcatic sumonst21 bishoplee maxistepanov mujhtech gh0st criticic dangtrongnghiamq molecula451 jdeng7 arora22 pedroalpacheco thejohnpg tvast danish1254 balajinikhil firasaen bhaswanth53 progettazionemauro cristea2017 gerges-shamon-dev ndduc jukatax themoviestore jarrstudios luiztim dirkteucher itisdoc ylfs-lfs123 yamgarcia jebo75 lmgeek vedraiyani dmdv agandaur-ii the-lonelycoder qnxdev pavan91 paulo1234 molandtoxx topmasud gachihenchi aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa4 bellisario gojinetwork eshwaranad shreejalmaharjan-27 mustafaakaaratas eswdevplus toximaberry oofchair thecoderraman marte404 storageapi andrewip1027 jonnydodad luanbdias aalkamel davincee talebdesign laurenz-g raprap-info brucehusker bookmarkbao bertawsky031 n00bcood3r webmakersites blindtechagent kihuni eclipse-5214 dannymichaels mycompany1018 ericytex kavishkaya009 srizan10 kizuo youngdev7 hayate891youtube-video-downloader's Issues
showing error in some video links
"https://www.youtube.com/watch?v=ij_0p_6qTss"
for example this link is not working while other are working.
error message:
throw er; // Unhandled 'error' event
Error: Status code: 403
at ClientRequest. (D:\youtubeDownloader\Server\node_modules\miniget\dist\index.js:128:27)
after resolving the Can not get.... issue I got issue like this..
Error: No default engine was specified and no extension was provided.
at new View (/Users/kadamp/Downloads/youtubeDownloader-master/Server/node_modules/express/lib/view.js:61:11)
at Function.render (/Users/kadamp/Downloads/youtubeDownloader-master/Server/node_modules/express/lib/application.js:570:12)
at ServerResponse.render (/Users/kadamp/Downloads/youtubeDownloader-master/Server/node_modules/express/lib/response.js:1012:7)
at /Users/kadamp/Downloads/youtubeDownloader-master/Server/index.js:31:7
at Layer.handle [as handle_request] (/Users/kadamp/Downloads/youtubeDownloader-master/Server/node_modules/express/lib/router/layer.js:95:5)
at next (/Users/kadamp/Downloads/youtubeDownloader-master/Server/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/Users/kadamp/Downloads/youtubeDownloader-master/Server/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/Users/kadamp/Downloads/youtubeDownloader-master/Server/node_modules/express/lib/router/layer.js:95:5)
at /Users/kadamp/Downloads/youtubeDownloader-master/Server/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/Users/kadamp/Downloads/youtubeDownloader-master/Server/node_modules/express/lib/router/index.js:335:12)### ****
No video links in the panel with: info.player_response is undefined error
There is no video links in the panel, I only get this message: info.player_response is undefined
I'm on linux mint and using the latest version of firefox
Issue on 'NPM INIT'
Hello,
If I'm not wrong I was supposed to hold Shift and
perform a Right Click on the folder "Server" to make available the PowerShell option in the right-click menu
And once launched, introduce "npm init" and press enter?...
If it's so, for some reason, it just fails and says:
"npm init" is not recognized as a cmdlet, function and or script.
I'm a newbie on these things.
How should I proceed or fix this?.
I guess I'm supposed to have installed Node JS beforehand, right?
confused on how to use.
I have looked everywhere and cloned it but I can't find anywhere I can either download it or use it. I am new to Github and that's not helping but is there something I missed?
"Cannot GET /" error when loading in localhost:4000
"Cannot GET /" error when loading in localhost:4000
Connection denied by localhost.
I think I did all correctly but both convert to mp4 and convert to mp3 give me "Connection refused by localhost" is it for my router configuration or have I wrong something with the configuration of the server?
Searching around the internet the most asked question is "can you connect to 127.0.0.1?" and I cannot, but don't know why.
ERR_CONNECTION_REFUSED
hello, i having some problem with downloading the file..
when running the server the download page shows only err_redirect instead of the download.
any idea why?
this is my repository: https://github.com/tals012/yt-horada
Missing Data
Update the README.md
I think the README.md needs to be updated and make it more detailed.
Get localhost:4000 Forbidden
Hi,
I am getting the following error when I click Convert button:
GET http://localhost:4000/downloadmp4?url=https://www.youtube.com/watch?v=a1emg7cwJCw
[HTTP/1.1 403 Forbidden 6ms]
Can you please help me out with this error?
Kind Regards,
TypeError: Cannot read property 'player_response' of undefined
Hi i get
TypeError: Cannot read property 'player_response' of undefined at /Users/william/Documents/youtubeDownloader-master/Server/index.js:50:17 at processTicksAndRejections (internal/process/task_queues.js:97:5) at async /Users/william/Documents/youtubeDownloader-master/Server/index.js:47:3
when trying to use it. Am i doing something wrong?
Error download
Error: No default engine was specified and no extension was provided.
I installed it but i get this error:
Error: No default engine was specified and no extension was provided. at new View (C:\youtubeDownloader\Server\node_modules\express\lib\view.js:61:11) at Function.render (C:\youtubeDownloader\Server\node_modules\express\lib\application.js:570:12) at ServerResponse.render (C:\youtubeDownloader\Server\node_modules\express\lib\response.js:1012:7) at app.get (C:\youtubeDownloader\Server\index.js:54:5) at Layer.handle [as handle_request] (C:\youtubeDownloader\Server\node_modules\express\lib\router\layer.js:95:5) at next (C:\youtubeDownloader\Server\node_modules\express\lib\router\route.js:137:13) at Route.dispatch (C:\youtubeDownloader\Server\node_modules\express\lib\router\route.js:112:3) at Layer.handle [as handle_request] (C:\youtubeDownloader\Server\node_modules\express\lib\router\layer.js:95:5) at C:\youtubeDownloader\Server\node_modules\express\lib\router\index.js:281:22 at Function.process_params (C:\youtubeDownloader\Server\node_modules\express\lib\router\index.js:335:12)
Question: Subdomain install
Hello mooradal,
I installed in an existing subdomain: joomla.localdomain.
$ cd /srv/http/joomla
[http@tower joomla]$ cd Server/
[http@tower Server]$ node index.js
Server Works !!! At port 4000
In script.js I tried localhost and joomla.localdomain
$ cat script.js
var convertBtn = document.querySelector('.convert-button');
var URLinput = document.querySelector('.URL-input');convertBtn.addEventListener('click', () => {
console.log(URL: ${URLinput.value}
);
sendURL(URLinput.value);
});function sendURL(URL) {
window.location.href =http://localhost:4000/download?URL=${URL}
;
}
But I get in both cases :
ERR_CONNECTION_REFUSED
Will the example work in a subdomain?
Best
when i hit convert mp4 button it keeps waiting for localhost.
here is my script.js
`var mp3Btn = document.getElementById('mp3');
var mp4Btn = document.getElementById('mp4');
var URLinput = document.querySelector('.URL-input');
var server = 'http://localhost:8000';
mp3Btn.addEventListener('click', () => {
console.log(URL: ${URLinput.value}
);
redirectMp3(URLinput.value);
});
mp4Btn.addEventListener('click', () => {
console.log(URL: ${URLinput.value}
);
redirectMp4(URLinput.value);
});
function redirectMp3(query) {
window.location.href = ${server}/downloadmp3?url=${query}
;
}
function redirectMp4(query) {
window.location.href = ${server}/downloadmp4?url=${query}
;
}`
Question: Can I change certain elements in the HTML file when I run "node index.js" successfully?
Also, can I revert the changes again when the process is stopped?
[question] why a.click over window.open
hello, i was wondering if there was a reason to use the hacky and longer way of creating a href element and click() on it instead of using window.open() ? I would be happy to know as I'm trying to do a yt downloader but I've got problem figuring out how to download multiple files (playlists) as when opening multiple window the browser blocks it as pop up, since it tries to open multiple window. I don't know if there is a better way. thanks
Application error in Heroku after deploying
Recently tried to learn some YouTube web tricks using your app. When I tried to deploy the same in Heroku I could not do that due to Application error y log files, please tell me how to get rid of this.
Adding mp3 support
I wish like to add MP3 support to the YouTube downloader.
I might add the feature myself
TypeError: Cannot read property 'player_response' of undefined
I just paste this link https://www.youtube.com/watch?v=ryD8BqVexJI&list=RDryD8BqVexJI&start_radio=1 and press the convert button with mp3. But, its running more then 10 minutes and i got the TypeError in my windows terminal like that image.
Could you help me to find the error?
Deployed to Zeit : But on submit page is not found // Works locally though, just not deployed
Saw your post on Medium and wanted to build one myself.
I deployed it here: https://ytdownloader-hmb8sypdc.vercel.app/
My server.js file looks like this:
`
server.get('/download', async (req, res) => {
try {
let url = req.query.url;
let info = await ytdl.getInfo(url);
const video_title = info.videoDetails.title.replace(/\s+/g, '-');
res.header('Content-Disposition', `attachment; filename="${video_title}.mp4"`);
ytdl(url, {
format: 'mp4',
quality: 'highest',
}).pipe(res);
}
catch (err) {
console.log('Error locating video...', err);
return app.render(req, res, '/404');
}
});
`
Thanks!
Remove vulnerabilities
There are a list of vulnerabilities that needs to be fixed in package.json and package-lock.json
Checking for invalid URLs
The app currently does not check for invalid URLs and often will result in errors if an invalid URL is inserted. currently there is no indication for the user to know that the URL is invalid and this bug need to be fixed.
Bug: Invalid character in header content ["Content-Disposition"]
Hello.
I ran into an issue when testing a download. I encountered this server error:
Server Works !!! At port 4000
TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Content-Disposition"]
at ServerResponse.setHeader (_http_outgoing.js:473:3)
Any ideas on how to resolve this?
Thanks!
Cannot GET /
I ran it at 333 port
and it says
Cannot GET /
Error: Error parsing info: Unexpected token ) in JSON at position 0
When I try to download mp3 file I get this error on express
Error: Error parsing info: Unexpected token ) in JSON at position 0
at exports.getBasicInfo (C:\Users\Maks_\Downloads\youtubeDownloader-master\Server\node_modules\ytdl-core\lib\info.js:71:11)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Map.getOrSet (C:\Users\Maks_\Downloads\youtubeDownloader-master\Server\node_modules\ytdl-core\lib\cache.js:24:19)
at async C:\Users\Maks_\Downloads\youtubeDownloader-master\Server\index.js:21: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.