Giter VIP home page Giter VIP logo

Comments (34)

gabinfinity avatar gabinfinity commented on August 20, 2024

Just a bug report: Sometimes the vidsrc.me url is not decrypting correctly
image

from vidsrc-api.

cool-dev-guy avatar cool-dev-guy commented on August 20, 2024

Yea i will change the keys in github(the api has already been changed,so its working),to host it on vps you need to use uvicorn(search for deploying fastapi),it works on vercel because its serverless function.

from vidsrc-api.

gabinfinity avatar gabinfinity commented on August 20, 2024

Oh okay, im hosting it on vercel by now :D

from vidsrc-api.

cool-dev-guy avatar cool-dev-guy commented on August 20, 2024

Just a bug report: Sometimes the vidsrc.me url is not decrypting correctly image

Yea its actually a decode error,there's nothing that can be done actually to get the correct stream url,the code before didnt even worked as better as this version,the only way to get the correct url is reloading,i have commented out a line in the code which will show an error code if the url is broken as above.

from vidsrc-api.

cool-dev-guy avatar cool-dev-guy commented on August 20, 2024

Just a bug report: Sometimes the vidsrc.me url is not decrypting correctly image

About this problem, this is happening a lot with me, i dont know why, but after some refresh it back to normal, but can happen again with another movie/tv show

its actually due to wrong padding and mistakes in the b64 encoded data,and the algorithm that i use(from Ciarands) has the same error,so i added an online tool to decode it,so it will somehow work more efficiently than the stdlib(base64).

from vidsrc-api.

cool-dev-guy avatar cool-dev-guy commented on August 20, 2024

I think will add more sources so it wouldnt be an issue :)

from vidsrc-api.

gabinfinity avatar gabinfinity commented on August 20, 2024

I think will add more sources so it wouldnt be an issue :)

i saw something about vidsrc.to, is it working? I think vidsrc.me have more content than vidsrc.to, and vidsrc.to needs cors proxy to work. Hope we can find a solution for b64 problem

from vidsrc-api.

gabinfinity avatar gabinfinity commented on August 20, 2024

Just a bug report: Sometimes the vidsrc.me url is not decrypting correctly image

Yea its actually a decode error,there's nothing that can be done actually to get the correct stream url,the code before didnt even worked as better as this version,the only way to get the correct url is reloading,i have commented out a line in the code which will show an error code if the url is broken as above.

where is the line? i would like to add a error code for my site try again to scrap when it return error

from vidsrc-api.

cool-dev-guy avatar cool-dev-guy commented on August 20, 2024

Just a bug report: Sometimes the vidsrc.me url is not decrypting correctly image

Yea its actually a decode error,there's nothing that can be done actually to get the correct stream url,the code before didnt even worked as better as this version,the only way to get the correct url is reloading,i have commented out a line in the code which will show an error code if the url is broken as above.

where is the line? i would like to add a error code for my site try again to scrap when it return error

Uncomment this line and pass an error code ,so that you can request again.If the url is truncated then the .m3u8 will not be there so you can do this troubleshooting method.

# hls_url = "TRUNCATED, REQUEST AGAIN" if 'm3u8' not in hls_url else hls_url

from vidsrc-api.

gabinfinity avatar gabinfinity commented on August 20, 2024

This API returns vidsrc.to subtitles https://github.com/Aijazmakerb/vidsrc-api

is it possible to add it on your python api?

from vidsrc-api.

cool-dev-guy avatar cool-dev-guy commented on August 20, 2024

This API returns vidsrc.to subtitles https://github.com/Aijazmakerb/vidsrc-api

is it possible to add it on your python api?

Yea i will push a new update,i am currently working on many other sources like upcloud,streambucket,mixdrop,etc. so thats why bug fixes are slow and losing interest is also another factor.

from vidsrc-api.

gabinfinity avatar gabinfinity commented on August 20, 2024

Oh okay. By the way, about base 64 decode, i saw this repo, i tested and looks fine, it doesnt returns wrong links

https://github.com/habitual69/VidSrc-Streamer/blob/main/helper/vidsrc_extractor.py

from vidsrc-api.

cool-dev-guy avatar cool-dev-guy commented on August 20, 2024

hey i checked the code,what id does is that it recursively sends the request to the domain,and decodes it ,its similar to requesting again,but i think i will add it ,thanks :)

from vidsrc-api.

cool-dev-guy avatar cool-dev-guy commented on August 20, 2024

Added some bug fixes for vidsrc pro(now there wont be any broken links & internal server errors)

from vidsrc-api.

cool-dev-guy avatar cool-dev-guy commented on August 20, 2024

Added /subs route,so now when you put:
/[email protected] it will retrun a .vtt file,which can be loaded to webpages using <track caption>

from vidsrc-api.

gabinfinity avatar gabinfinity commented on August 20, 2024

Oh thanks i will update it again

from vidsrc-api.

gabinfinity avatar gabinfinity commented on August 20, 2024

I think it still returning something like this, but probably its a return from www.base64decode.org site
image
image

from vidsrc-api.

gabinfinity avatar gabinfinity commented on August 20, 2024

sometimes im getting timeout too

image

from vidsrc-api.

gabinfinity avatar gabinfinity commented on August 20, 2024

sometimes still returning wrong things on url, seems something related to decode, would be nice a check with https and m3u8 again. After a return "No printable characters found, try another source character set, or upload your data as a file for binary decoding." the second call normally returns a valid URL, but when you access it, it returns a 404 error

image

image

image

from vidsrc-api.

cool-dev-guy avatar cool-dev-guy commented on August 20, 2024
  • This message : No printable characters found, try another source character set, or upload your data as a file for binary decoding

    is because there was some error in the request(not the decoding part)(will do a bug fix)
    
  • You can prevent the broken url's by increasing the number of max_attempts and using a good url validator(will do a bug fix soon)

from vidsrc-api.

gabinfinity avatar gabinfinity commented on August 20, 2024

Oh, okay, i'll wait, thank you for this awesome project

from vidsrc-api.

gabinfinity avatar gabinfinity commented on August 20, 2024

By the way, would be nice return all these language subtitles

image

from vidsrc-api.

cool-dev-guy avatar cool-dev-guy commented on August 20, 2024

Language subtitles for vidsrc.me are fetched from opensubtitles.org so you can request with any language like en in the url parameter l(language).It will return the subs in that language.

I will add vidsrc.to subs

from vidsrc-api.

gabinfinity avatar gabinfinity commented on August 20, 2024

But does it supports multiple language search? They have a lot subtitles for each language, would be nice scrap all of them. Would be nice add vidsrc.to subtitles on /extra route too. And i think they changed the encryption methods.

from vidsrc-api.

gabinfinity avatar gabinfinity commented on August 20, 2024

I think vidsrc.to is not working for TV SHOW: https://vidsrcme.braflix.app/extra/63174?s=1&e=1

Its returning 500 internal server error

image
image

from vidsrc-api.

cool-dev-guy avatar cool-dev-guy commented on August 20, 2024

I think vidsrc.to is not working for TV SHOW: https://vidsrcme.braflix.app/extra/63174?s=1&e=1

Its returning 500 internal server error

image image

Hey @gabinfinity i will do a bug fix for this,currently i am working on vidsrc.me extractor cuz it stoped working.(vidsrc.me changed their encoding style)(So there are many impurities that have been added to base64 text,so decoding it will return in a broken url)

from vidsrc-api.

gabinfinity avatar gabinfinity commented on August 20, 2024

Oh https://github.com/Ciarands/vidsrc-me-resolver Ciarands fixed it, he said that he fixed base64 decode problem too, but i dont know python to fix it

from vidsrc-api.

cool-dev-guy avatar cool-dev-guy commented on August 20, 2024

Yeah he fixed it currently i am rewriting the code of the api(he is great)

from vidsrc-api.

gabinfinity avatar gabinfinity commented on August 20, 2024

oh thats its a good news, i fixed mine too, but still with decode problems

from vidsrc-api.

cool-dev-guy avatar cool-dev-guy commented on August 20, 2024

Yea the error is fixed but the response-time has become large,i need to optimize it

from vidsrc-api.

gabinfinity avatar gabinfinity commented on August 20, 2024

okay bro, i'll wait, thank you again

from vidsrc-api.

cool-dev-guy avatar cool-dev-guy commented on August 20, 2024

I have updated the api

from vidsrc-api.

cool-dev-guy avatar cool-dev-guy commented on August 20, 2024

Also added subtitles for every providers

from vidsrc-api.

gabinfinity avatar gabinfinity commented on August 20, 2024

Its working really fine now bro. Just a note: Ciarands recommends dont get keys directly pro github raw (https://github.com/Ciarands/vidsrc-keys)
image

from vidsrc-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.