cool-dev-guy / vidsrc-api

A working vidsrc.to/vidsrc.me extractor as an api. Proof of concept and educational.(depreciated) instead use https://github.com/cool-dev-guy/vidsrc.ts
https://github.com/cool-dev-guy/vidsrc.ts
GNU General Public License v3.0
81 stars 121 forks source link
api api-rest fastapi movie python python3 scraper series vidsrc vidsrc-api

vidsrc-api

IMPORTANT

UPDATE : PROJECT ABANDONED FOR LIMITED TIME

MOVED TO https://github.com/cool-dev-guy/vidsrc.ts

Status Deployment

STATUS- WORKING - (UPDATED MAR/31/24)

A simple web scrapper based on this resolver.

About

FEATURES

- async support - Most process are async but still some fixes are needed.
- very fast results
- subtitle support for every sources.

NOTES

- Dont overload the deployment.
- This api is made for educational purpouse only. This is just a simple scrapper built arround `https://github.com/Ciarands` vidsrc downloader.This project was only made to prevent ads and redirects caused by the `iframe`s
- This api isnt a copy of the inspired project,but its a complete reqrite of code to make it work as an api and use async style to give vary fast results.
- Dont perform bulk request to the api and store the m3u8's returned,cuz they may not work after 24 hours or so.This api scrape websites that have `video on demand` feature so storing it is useless.

USAGE (GET)


{
    "status":200,
    "info":"success",
    "sources":[
      {
        "name": "SOURCE_NAME",
        "data": {
          "stream": "FILE.m3u8",
          "subtitle": [
            {
              "lang":"LANGUAGE",
              "file":"FILE.srt"
            }
            {
              "lang":"LANGUAGE2",
              "file":"FILE2.srt"
            }
          ]
        }
      },
      {
        "name": "SOURCE_NAME2",
        "data": {
          "stream": "FILE2.m3u8",
          "subtitle": [
            {
              "lang":"LANGUAGE",
              "file":"FILE.srt"
            }
            {
              "lang":"LANGUAGE2",
              "file":"FILE2.srt"
            }
          ]
        }
      }
    ]
}
{
    "status":200,
    "info":"success",
    "sources":[]
}

### ERROR CODES

ERROR CODES

TODO



### OTHER PROJECTS
- [cool-proxy](https://github.com/cool-dev-guy/cool-proxy) - A proxy made in C++