An open API service indexing awesome lists of open source software.

https://github.com/thatguysam/ytdl-web


https://github.com/thatguysam/ytdl-web

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          

# Ytdl-Web Interface
A simple web interface for yt_dlp built using [Next.js](https://nextjs.org/) and [Python](https://www.python.org/).

## How to start server
If running locally go to `next.config.js` and uncomment the rewites function.

run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## Deploy your own
Deploy the example using [Vercel](https://vercel.com):

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/RohanDebroy/ytdl-web)

## 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](https://github.com/saanuregh/youtube-dl-web). I understood how to deploy python and nextjs under a single repo on vercel