lossless1024 / StreaMonitor

Adult live stream downloader for advanced people. I could have chosen a better name.
GNU General Public License v3.0
173 stars 42 forks source link

Amateur TV #93

Closed webmastermario closed 12 months ago

webmastermario commented 12 months ago

it seesm amateur.tv the new plugin has additional token security. does anyone know how to correct this?

DerBunteBall commented 12 months ago

I can not verify this.

API request still works. Which error do you get?

webmastermario commented 12 months ago

i tried with ffmpeg directly and receive this: Server returned 401 Unauthorized (authorization failed). When i access the URL in my broswer (the mp4 or m3u8 url) it is working..

DerBunteBall commented 12 months ago

Try to send a Referrer Header with https://amateur.tv/ as value.

Check -headers option in ffmpeg.

webmastermario commented 12 months ago

get this No trailing CRLF found in HTTP header. Adding it. and than Server returned 401 Unauthorized. have this added to the ffmpeg command: -headers "Referer: https://amateur.tv"

webmastermario commented 12 months ago

was able to get streams by adding: -user_agent

thanks for helping.

DerBunteBall commented 12 months ago

That's a second header.

Always when calling APIs like that or streaming servers always add a "User-Agent" Header. They block nearly all when they don't see something like a Firefox or so.

I assumed that this already was done.

Have a nice day.