ThatGuySam / ytdl-web

Home Page:https://ytdl-web-two.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ytdl-Web Interface

A simple web interface for yt_dlp built using Next.js and Python.

How to start server

If running locally go to next.config.js and uncomment the rewites function.

run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

FAQ

1. Why not using NextJS Api endpoints?

I was using youtube-dl-exec but once it was deployed to vercel it didnot work because it requires a python runtime. I donot know how to assign python runtime in Vercel without using a python file.

2. Getting access restriction error.

If using the deployed version then, most probably the ip got rate limited due to continous request. Try again after sometime and it will work.

Notes

  • special thanks to the youtube-dl-web project by Saanuregh. I understood how to deploy python and nextjs under a single repo on vercel

About

https://ytdl-web-two.vercel.app


Languages

Language:TypeScript 91.3%Language:Python 6.0%Language:JavaScript 2.7%