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

Scraping DMM fails because age check is not bypassed when scraping actress page #337

Open
redraiderj opened this issue Oct 8, 2020 · 0 comments
Labels

Comments

@redraiderj
Copy link

redraiderj commented Oct 8, 2020

Describe the bug
The cookies age_check_done is not set in DmmParsingProfile.scrapeActors() function, before "Document actressPage = Jsoup.connect(actressPageURL)..."

I changed the code as below and rebuild the project then it works.

			Map<String, String> cookies = new HashMap<String, String>();
			cookies.put("age_check_done", "1");
			Document actressPage = Jsoup.connect(actressPageURL).cookies(cookies).userAgent("Mozilla").ignoreHttpErrors(true).timeout(SiteParsingProfile.CONNECTION_TIMEOUT_VALUE).get();
@redraiderj redraiderj added the bug label Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant