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

Various improvements #332

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

Various improvements #332

wants to merge 17 commits into from

Conversation

zuko7177
Copy link
Contributor

@zuko7177 zuko7177 commented Sep 4, 2020

This change contains some improvements mainly to DMM scraping.

  • When scraping with DMM for English, we will now scrape the website's English version instead of getting Japanese and translating it via grammarchecker.com. This should improve scraping reliability and speed.

  • Add menu option to disable DMM scraping for actress. Skipping actress scraping on DMM will improve speed. Getting actress data from R18 is better.

  • Increase accuracy of search result matches by matching movie ID with search results Label field first. If no matches found, then try matching to URL as before. For example,
    search for URE-051 on R18 will no longer return PURE-051.
    search for DV-1195 on JavBus will no longer return HODV-21195.

  • Add Gradle v5.6.4 wrapper. Enable use of gradle without installing gradle (using gradlew.bat or gradlew).
    Example on linux:  ./gradlew assemble
    Example on windows: gradlew.bat assemble

  • Known issue with DMM scraping. Some times we still get JP version even though we're requesting EN. This may be due to web server caching. If this happens, DMM scraper will wait 5 seconds and retry again. Occasionally, the 2nd try will still get JP version. If that happens, just restart the scrape.

zuko7177 and others added 14 commits August 24, 2020 23:19
Fix deprecated in build.gradle
Users can use gradle (gradlew.bat or gradlew) without installing gradle.
Example on linux:  ./gradlew assemble
Example on windows: gradlew.bat assemble
…slator service. This improves speed and reliability of English parsing.
…e for English names. Grammarchecker.net is unreliable. Instead, we scrape DMM's English version.
…he site instead of both versions. This should improve scraping speed.
…if DMM is slow for you.

2. Upgrade jsoup to 1.9.2 in build.gradle
3. In the case where DMM English scraping gives Japanese (due to server caching), we will do another scraping.
4. add new UserAgent
5. some more code refactors
� Conflicts:
�	build.gradle
�	src/main/java/moviescraper/doctord/controller/siteparsingprofile/specific/DmmParsingProfile.java
Increase accuracy of search result matches by matching movie ID with search results Label field first. If no matches found, then try matching to URL as before.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant