-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
JavLibrary scrapers not working #1817
Comments
Thank you for reporting this: I suspect this is failing for you because the Python scrapers need a little more setup than other scrapers as described in the README for this repo (we have not yet found a way to display this in the Stash UI) But even after you've got that set up I'm afraid the JavLibrary scraper will still fail due to their recent application of a more aggressive Cloudflare strategy. We have reports from users who have used a VPN to get a Japanese IP address and that seems to work for scraping JavLibrary, but for right now there's no easy way to scrape their site. |
When you set the Flaresolverr url in the Javlibrary Python file you can get it going again even with non-JP VPN. |
@Net005 did you have to do anything special apart from the standard Flaresolverr setup to get it to work? When I try to use Flaresolverr, I get the following errors: The Cloudflare 'Verify you are human' button not found on the page. It keeps retrying but it can't find the checkbox |
I was able to get the scraper working for me with flaresolverr in a separate docker container: -> I had to change line 445 in the .py from
Maybe this will help someone. (Edited: Fixed wrong information) |
line 445 in which file ? |
Sorry, had a brainfart I guess.
|
My reproduction steps to my problem:
I installed the Javlibrary_python scraper from the settings, then edited
In the Tagger page I have a file named BBAN-414.mp4, when I query BBAN-414 and press search I get I tried debugging the script on my own but I can't seem to get it working, it looked like the script was not following redirects maybe? When I entered the value of |
I solved my problem. I had to use |
As a extra to this, I tried to get it running as well. With Flaresolverr in docker I couldn't get it to run at all. I installed Flaresolverr on my windows PC and routed through that. I now at least get logs and Flaresolverr seems to be detecting the cloudflare but just times out.
|
Using this pr:
I was able to get around the CF issue.
It still returns no data for some reason but at least it isn't a CF block anymore. Maybe @Maista6969 can look into why that's happening |
** Scraper name **
JavLibrary_python
** Scraper method **
Getting the following error when trying to scrape with JavLibrary_python:
error while fragment scraping with scraper JavLibrary_python: could not unmarshal json from script output: EOF
The text was updated successfully, but these errors were encountered: