-
Notifications
You must be signed in to change notification settings - Fork 12
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
Few errors with new build #21
Comments
That's strange. It looks more like an installation issue. Did you change / update your python ? |
Alright, I applied the fix from the link, tried again, said Superembed requires Chrome, installed that. Now, on 4, it just says "Invalid vidsrc keys" - which I guess is to be expected as per your explanation of the cause, but on 5 I'm getting no luck either - shown below
In the log it states
|
Updated the code with required fix. Also, updated Vidsrc client with reliable keys source (which updates every hour). |
Was getting errors, decided to delete all I had and redownload fully, errors still present. Intermittent regex issues present with /d and /g Option 1 seems to work well and completes
Also I want to mention that a lot of errors surface if using multiple instances of the script, either writing to log issues or other. I prevented them before by removing some logger tidbits in the scripts and could run 4/5 at a time without issue. For example, running 2 starts giving me errors like this and they appear on 3 obviously I made changes involving this I think in udb.py, but I'm sure there's a better way to do things.
From my understanding it fails when trying to write/read the log simultaneously with another instance, preventing the write stops all issues but it isn't exactly a safe way to do things as it gains the inability to debug. So hopefully you can come up with a fix for it as this script really shines when you have 3/4 going at once for full efficiency. |
Oh, thanks for the detailed information 🙂. So, there are 3 issues:
For issue-1, it is not happening for me. Can you share the python & pip versions you are using? While I investigate 2, please use option-4 (vidsrc), as it is more reliable now. In case you see the same invalid keys error, just retry after an hour. |
pip 24.0 |
Fixed issue-1, it is depreciation warning with python > 3.11. Still no luck with issue-2, as I could not recreate it. |
Working brilliantly thanks! I'll let you know if I come across any other issues from use. Good work, |
Still get the logging issues, even after using different log names with -l, which doesn't make much sense. Like I'd have one set up for -l multi1 and another -l multi2 and they'd both say their seperate logs are in use by the other one. Variations of this
|
Hmm.. this looks like an issue with Rotating File logging (it is reaching a deadlock-like scenario). I've added a delay option for logger. Please take a new pull. (Note: I didn't release it as version, so you need to use |
Updated, and now I'm running 3 concurrently and there's no logging issues as before, so looks good |
Hit the logging error after download complete and on the further stages. Got multi1, multi2, multi3 open with their own logs, only the first one has the errors. Edit, now the others have it too.
|
His repository has been taken down also superembed has still never worked
etc etc, on anything |
Oops..! That's bad. I guess he made it private or removed it. Typical problems of open-source 😞. And.. for Superembed, I'm working on a logic to crack the captcha. Unfortunately, I couldn't spend time on this due to my work. Hopefully, I will push an update this weekend. |
While I'm still trying to decode new vidsrc logic. I've fixed Superembed Client. |
@Prudhvi-pln Maybe this may help https://github.com/giammirove/vidsrc-to-resolver |
Superembed also uses a simple image based captcha which wants you to identify if the person is male of female, maybe this could help https://huggingface.co/spaces/Yuqi/Gender_Classifier/tree/main or you can reverse https://huggingface.co/spaces/bewil1990/GenderClassifier and use that |
@rdwxth, thanks for the info. I'm working on vidsrc client using a similar reference: https://github.com/Inside4ndroid/vidsrc-api-js. and what you have shared is really helpful! For Superembed, I'm planning to keep the repo simple without any ML model, so I used an external API. But the link you have shared is a good alternative. Also, did you see any issues with current gender identification api used in Superembed Client ? If so, I'll incorporate the hugging face API (hoping there is no rate limit on it 😅) |
It would be better to scrape all the images of males and females and classify them. Then, we can solve the CAPTCHA using these classifications, since I've realized there is only a limited number of images and sometimes images repeat. As a fallback, we can use the ML model API, but scraping all the images and manually classifying them sounds like a better main option to me. It would be more work at the start but later on would be time saving and cost effective. |
@ZetsApocNow, Restored support for Vidsrc client in v2.13.4. |
Hi @Prudhvi-pln, it would be great if you could update this project with flask or fastapi. |
Hi @harry-odinson-369 , thanks for using UDB. I'm more of a CLI guy, so I didn't plan to expose this over API. But I'll surely update you if I plan to add API support. |
Closing this issue, assuming there are no other issues. In case of the same issue, please reopen this. For any new issues / feature request, open a new one. |
4 (tried with different shows also)
5
and in log for 4
|
That's because the host vidsrc.to has been closed down rendering the scraper useless unless we can find an alternate domain with the automated API. |
Yep. That's right. Vidsrc changed their domain and their backend logic tooo again...💢 @ZetsApocNow
|
Any idea what the new domain is? |
It is changed to |
That isnt the actual vidsrc.to just a copy, they yeeted the ui and ye. They scrape vidsrc.me and rabbitstream btw and scraping them is relatively easy. |
increased to 60 then to 120 get variations of this spammed and it grinds to a halt, have to restart multiple times to get it to continue a few % at a time, eventually downloads don't pass 98/99%
waited a long long time, never finishes, connection is good, no disconnects elsewhere can't currently use the tool, was great while it lasted |
Select type of series:
1: Anime (Gogoanime)
2: Anime (Animepahe)
3: Drama (Myasiantv)
4: Movies & TV Shows (Vidsrc)
5: Movies & TV Shows (Superembed)
Enter your choice: 4
C:\udb\Clients\BaseClient.py:182: SyntaxWarning: invalid escape sequence '\d'
resolutions = _regex_list(master_m3u8_data, 'RESOLUTION=(\d+x\d+)', 1)
C:\udb\Clients\BaseClient.py:684: SyntaxWarning: invalid escape sequence '\d'
is_match = lambda word: re.search('\d+.\d+.\d+.\d+', word)
Error occurred: No module named 'distutils'. Check log for more details.
Ready for one more? Reload UDB (y|n)?
Select type of series:
1: Anime (Gogoanime)
2: Anime (Animepahe)
3: Drama (Myasiantv)
4: Movies & TV Shows (Vidsrc)
5: Movies & TV Shows (Superembed)
Enter your choice: 5
Error occurred: No module named 'distutils'. Check log for more details.
Ready for one more? Reload UDB (y|n)?
The text was updated successfully, but these errors were encountered: