DoctorD1501 / JAVMovieScraper

Scrape XBMC and Kodi movie metadeta and automatically rename files for Japanese Adult Videos (JAV), American Adult DVDs, and American Adult Webcontent
GNU General Public License v2.0
748 stars 162 forks source link

Plot from dmm not scraping. #271

Closed Borisbee1 closed 5 years ago

Borisbee1 commented 5 years ago

Dmm has not been scraping the translated plot for a while and with the new update I figured I'd bring this to attention. Works fine if set to use japanese names, but translated returns nothing.

I attempted to do some debugging of my own and it appears to me it's failing somewhere in lines 85-87 of TranslateString.java translatedTextElement is coming back null after Element translatedTextElement = doc.select(".short_text").first();

the contents of doc seems to be a valid url since it works if I paste it into my browser but I see no short_text or long_text within the document.

Wizell commented 5 years ago

As you mentioned the problem is inside the Translation engine. It was using google translate which have changed its behavior.

I just changed google translate to grammarchecker.net. It doesn't look perfect at translating things (not much worst than google translate anyway) but its much easier to use.

Then this is fixed in master