JAVMovieScraper icon indicating copy to clipboard operation
JAVMovieScraper copied to clipboard

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

Open redraiderj opened this issue 4 years ago • 0 comments

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 avatar Oct 08 '20 14:10 redraiderj