samuelorlato / download-ytvideo

A simple Youtube video downloader made with HTMl, CSS, JS and Node.js
http://download-ytvideo.herokuapp.com/
0 stars 1 forks source link

Site crashes for links except youtube #1

Open chandansgowda opened 4 years ago

chandansgowda commented 4 years ago

The site crashes if we use any link (for instance, a video link from instagram). That needs to be patched and an alert message has to be initiated as soon as the user enters links except youtube.

chandansgowda commented 4 years ago

Now I was going through the repo but I found a 404.html file. So, thought it was a connection issue. But the problem still persists. I am a beginner and I think the 404.html file is not linked correctly.

samuelorlato commented 4 years ago

it’s true, the 404 page wasn’t set up correctly, I’m already correcting it, thanks for helping, and as for another issue (about showing an alert when the link isn’t on youtube) I’ll work on that too, I thought it was a good and necessary idea, maybe later on I will not turn this application into a "video downloader" in general for all platforms...

chandansgowda commented 4 years ago

@OrlatoDev Just initiate an alert function using javascript before redirecting to 404.html