JAVMovieScraper
JAVMovieScraper copied to clipboard
Scraping DMM fails because age check is not bypassed when scraping actress page
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();