Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vidsrc_extractor.py not working ?! #4

Open
RageshAntonyHM opened this issue Apr 14, 2024 · 0 comments
Open

vidsrc_extractor.py not working ?! #4

RageshAntonyHM opened this issue Apr 14, 2024 · 0 comments

Comments

@RageshAntonyHM
Copy link

RageshAntonyHM commented Apr 14, 2024

I ran the vidsrc_extractor.py in Google Colab notebook. After entering the ImDB ID, it shows as.

Input TMDB code for the movie: tt0111161
Requesting https://vidsrc.me/embed/movie?imdb=tt0111161
No source found for multiembed, available sources: VidSrc PRO, 2Embed, Superembed, VidSrc Hydrax
Stream: None
Subtitle: None

It shows stream is not found but if I click the above "Requesting ...." link, I able to see the video there.

If I change the source to anything in available sources, then I get

Input TMDB/ImDB code for the movie: tt0111161
Requesting https://vidsrc.me/embed/movie?imdb=tt0111161...
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[<ipython-input-12-3101504e2225>](https://localhost:8080/#) in <cell line: 194>()
    195     vse = VidSrcExtractor()
    196     code = input("Input TMDB/ImDB code for the movie: ")
--> 197     stream, subtitle = vse.get_vidsrc_stream("VidSrc PRO", "movie", code, "eng")
    198     print(f"Stream: {stream}")
    199     print(f"Subtitle: {subtitle}")

[<ipython-input-12-3101504e2225>](https://localhost:8080/#) in get_vidsrc_stream(self, name, media_type, code, language, season, episode)
    169         soup = BeautifulSoup(req_1.text, "html.parser")
    170 
--> 171         encoded = soup.find("div", {"id": "hidden"}).get("data-h")
    172         seed = soup.find("body").get("data-i")
    173 

AttributeError: 'NoneType' object has no attribute 'get'

I tried with many movies imdb ids. Same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant