HeadlessVidX
How To Use - Website Trainer - Training Guide - GitHub
×

### So, what is it?

HeadlessVidX aims to simplify the task of developing video extractors for video streaming websites. It provides an easy-to-use solution for users, regardless of their programming skills, to quickly add video streaming sites to tools such as 'TMDB TO VOD'.

### How can I use it?

Just send a GET request to the URL below:

``

Be sure to attach the video page URL on the end:

`https://thetvapp.to/tv/amc-live-stream/`

The successful return would produce a JSON:

`{"status":"ok","url":"https://v4.thetvapp.to/hls/AMCEast.m3u8?token=iGBW2Dns73mXj2C2n1KBRQ&expires=1717403418","Referer":"https://thetvapp.to/","Origin":"https://thetvapp.to","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"}`

This JSON will contain the link to the video file and some of the headers that were used when HeadlessVidX accessed it.

### Why does the JSON return an error?

Some websites, ecspecially video streaming websites, go to extreme measures to protect people from accessing their streams. However, you can still try and get around these measures by clicking on the "Website Trainer" and by creating a site definition for HeadlessVidX to use when accessing a video url on that site.

### What are the pro's?

HeadlessVidX, as a headless browser, can execute the necessary JavaScript to access video streams. This capability is particularly crucial when website owners employ advanced encryption methods to safeguard their streams.

Also, it eliminates the need to spend hours developing custom functions and extractors for each website. Its versatility allows it to handle a wide variety of video websites right out of the box.

### What are the con's?

Evern though its headless, but still being browser-based, the response time can be slower than web requests, as it requires rendering and executing JavaScript.

Headless browsers tend to consume more system resources, such as CPU and memory, compared to traditional web requests.