Inside4ndroid / vidkey-js

A vidsrc key extractor
GNU General Public License v3.0
12 stars 15 forks source link

Vidplay not working! #1

Closed fsmdeveloper closed 2 months ago

fsmdeveloper commented 2 months ago

I'm using the latest vidsrc keys, but the hls source is still null! do you know why?

Inside4ndroid commented 2 months ago

I'm using the latest vidsrc keys, but the hls source is still null! do you know why?

it is not the keys thats the issue it is the api you are using. the json return f2cloud rather than vidplay so it will throw a 404 error or be blank.

if you are hosting the vidsrc api yourself i can help you fix it.

fsmdeveloper commented 2 months ago

Yeah, bro, I am using a Digital Ocean droplet. It's my personal droplet. Please tell me how I can fix that issue

fsmdeveloper commented 2 months ago

[VidSrcExtractor] No source found for "Vidplay" Available Sources: F2Cloud, Filemoon

getting this error. I'm using https://github.com/Ciarands/vidsrc-to-resolver

fsmdeveloper commented 2 months ago

Also, I'm facing a weird issue with the Filemoon source. If I get the HLS URL from localhost/PC, it works, but if I get the Filemoon source from the VPS droplet, it does not work

Inside4ndroid commented 2 months ago

okay so to fix the issue with

[VidSrcExtractor] No source found for "Vidplay" Available Sources: F2Cloud, Filemoon

in the vidsrc.py add F2Cloud to line 14

SUPPORTED_SOURCES = ["Vidplay", "Filemoon"]

like this

SUPPORTED_SOURCES = ["F2Cloud", "Vidplay", "Filemoon"]

and for Filemoon i will have to look into it but i believe that is an issue where the hls has to be passed or used with a proxy. But i could be wrong as i use a javascript version for vidplay only.

Inside4ndroid commented 2 months ago

if not you can take a look at my javascript integration in the newly created repo here :

https://github.com/Inside4ndroid/vidsrc-api-js

fsmdeveloper commented 2 months ago

Thanks for your kind information bro.

I have changed the line 14. but still getting an error.

$ python vidsrc.py ? Select Source F2Cloud ? Fetch Subtitles No ? Search Media: king kong ? ? Select Media 2. King Kong (ডিসেম্বর 12, 2005) [>] Requesting https://vidsrc.to/embed/movie/254... [VidSrcExtractor] Sorry, this doesnt currently support "F2Cloud" :( [VidSrcExtractor] (if you create an issue and ask really nicely ill maybe look into reversing it though)... ? Could not find sources for F2Cloud, would you like to try scraping Vidplay?

fsmdeveloper commented 2 months ago

if not you can take a look at my javascript integration in the newly created repo here :

https://github.com/Inside4ndroid/vidsrc-api-js

I'm trying your fork. thanks bro!

fsmdeveloper commented 2 months ago

YES! The script from https://github.com/Inside4ndroid/vidsrc-api-js is working. However, it is not working with Vercel

Inside4ndroid commented 2 months ago

YES! The script from https://github.com/Inside4ndroid/vidsrc-api-js is working. However, it is not working with Vercel

ah i had an issue with vercel but if i remember correctly i had to goto vercel projects settings then general and change the Node.js Version option to 20 as it defaulted to 18.

Inside4ndroid commented 2 months ago

i will close this for now. but if you want more help etc you can get me on new discord here

https://discord.gg/xVJqpJtB

fsmdeveloper commented 2 months ago

Thanks bro! You helped me a lot! I'll knock you on discord.