javinizer / Javinizer

(NSFW) Organize your local Japanese Adult Video (JAV) library
MIT License
565 stars 62 forks source link

TokyoHot scraper doesn't work on GUI #368

Closed pnthach95 closed 1 year ago

pnthach95 commented 1 year ago

Expected Behavior

Using GUI, when TokyoHot scraper is selected, ID, title, description... fields should be filled.

Current Behavior

Nothing in the fields image But CLI can show it right image

EDIT: However, sorting file using CLI doesn't work because it searches N-0473, not n0473 which is the right name image

Steps to Reproduce (for bugs)

Your Environment

seeyabye commented 1 year ago

Did you include tokyohot under the Metadata Priorities? It's working on my end if you include it. Even for Manual Search, it has to be included.

pnthach95 commented 1 year ago

So, I added tokyohot at the end of Metadata Priorities, unchecked all scrapers except tokyohot. Sorting a folder shows NOT MATCHED all files. Manual Search can do the job.

image

So sorting folder need to be fixed.

My settings for comparison:

{
  "throttlelimit": 3,
  "location.input": "F:\\z\\p\\Cen",
  "location.output": "F:\\z\\p",
  "location.thumbcsv": "",
  "location.genrecsv": "",
  "location.uncensorcsv": "",
  "location.historycsv": "",
  "location.tagcsv": "",
  "location.log": "",
  "scraper.movie.aventertainment": false,
  "scraper.movie.aventertainmentja": false,
  "scraper.movie.r18dev": false,
  "scraper.movie.dmm": false,
  "scraper.movie.dmmja": false,
  "scraper.movie.jav321ja": false,
  "scraper.movie.javbus": false,
  "scraper.movie.javbusja": false,
  "scraper.movie.javbuszh": false,
  "scraper.movie.javdb": false,
  "scraper.movie.javdbzh": false,
  "scraper.movie.javlibrary": false,
  "scraper.movie.javlibraryja": false,
  "scraper.movie.javlibraryzh": false,
  "scraper.movie.mgstageja": false,
  "scraper.movie.tokyohot": true,
  "scraper.movie.tokyohotja": false,
  "scraper.movie.tokyohotzh": false,
  "scraper.option.dmm.scrapeactress": false,
  "scraper.option.idpreference": "id",
  "scraper.option.addmaleactors": false,
  "match.minimumfilesize": 0,
  "match.includedfileextension": [
    ".asf",
    ".avi",
    ".flv",
    ".m4v",
    ".mkv",
    ".mp4",
    ".mov",
    ".rmvb",
    ".wmv"
  ],
  "match.excludedfilestring": [
    "^.*-trailer*",
    "^.*-5\\."
  ],
  "match.regex": false,
  "match.regex.string": "([a-zA-Z|tT28]+-\\d+[zZ]?[eE]?)(?:-pt)?(\\d{1,2})?",
  "match.regex.idmatch": 1,
  "match.regex.ptmatch": 2,
  "sort.movetofolder": true,
  "sort.renamefile": true,
  "sort.renamefolderinplace": false,
  "sort.maxtitlelength": 0,
  "sort.movesubtitles": false,
  "sort.create.nfo": true,
  "sort.create.nfoperfile": true,
  "sort.download.actressimg": false,
  "sort.download.thumbimg": true,
  "sort.download.posterimg": true,
  "sort.download.screenshotimg": true,
  "sort.download.trailervid": true,
  "sort.download.timeoutduration": 100000,
  "sort.format.groupactress": false,
  "sort.format.delimiter": ", ",
  "sort.format.file": "<ID>",
  "sort.format.folder": "<ID> - <TITLE>",
  "sort.format.outputfolder": [
    "<ACTORS>",
    "<YEAR>",
    "<STUDIO>"
  ],
  "sort.format.posterimg": "folder",
  "sort.format.thumbimg": "fanart",
  "sort.format.trailervid": "<ID>-trailer",
  "sort.format.nfo": "<ID>",
  "sort.format.screenshotimg": "fanart",
  "sort.format.screenshotimg.padding": 1,
  "sort.format.screenshotfolder": "extrafanart",
  "sort.format.actressimgfolder": ".actors",
  "sort.metadata.nfo.addaliases": false,
  "sort.metadata.nfo.mediainfo": false,
  "sort.metadata.nfo.addgenericrole": true,
  "sort.metadata.nfo.altnamerole": false,
  "sort.metadata.nfo.translate": false,
  "sort.metadata.nfo.translate.module": "googletrans",
  "sort.metadata.nfo.translate.field": "description",
  "sort.metadata.nfo.translate.language": "en",
  "sort.metadata.nfo.translate.deeplapikey": "",
  "sort.metadata.nfo.translate.keeporiginaldescription": false,
  "sort.metadata.nfo.displayname": "<ID> - <TITLE>",
  "sort.metadata.nfo.firstnameorder": false,
  "sort.metadata.nfo.actresslanguageja": false,
  "sort.metadata.nfo.unknownactress": true,
  "sort.metadata.nfo.originalpath": false,
  "sort.metadata.nfo.actressastag": false,
  "sort.metadata.nfo.preferactressalias": false,
  "sort.metadata.nfo.format.tag": "<SET>",
  "sort.metadata.nfo.format.tagline": "",
  "sort.metadata.nfo.format.credits": [],
  "sort.metadata.thumbcsv": true,
  "sort.metadata.thumbcsv.autoadd": true,
  "sort.metadata.thumbcsv.convertalias": true,
  "sort.metadata.genrecsv": false,
  "sort.metadata.genrecsv.autoadd": false,
  "sort.metadata.tagcsv": false,
  "sort.metadata.tagcsv.autoadd": false,
  "sort.metadata.genre.ignore": [
    "^Featured Actress",
    "^Hi-Def",
    ".*sale.*",
    ".*mosaic.*"
  ],
  "sort.metadata.requiredfield": [
    "id",
    "coverurl",
    "genre",
    "maker",
    "releaseDate",
    "title"
  ],
  "sort.metadata.priority.actress": [
    "javlibrary",
    "javbus",
    "mgstageja",
    "aventertainment",
    "tokyohot"
  ],
  "sort.metadata.priority.alternatetitle": [
    "javlibraryja",
    "javbus",
    "tokyohot"
  ],
  "sort.metadata.priority.coverurl": [
    "javlibrary",
    "dmmja",
    "javbus",
    "mgstageja",
    "aventertainment",
    "tokyohot"
  ],
  "sort.metadata.priority.description": [
    "dmmja",
    "mgstageja",
    "aventertainment",
    "tokyohot"
  ],
  "sort.metadata.priority.director": [
    "javlibrary",
    "mgstageja",
    "aventertainment",
    "tokyohot"
  ],
  "sort.metadata.priority.genre": [
    "javlibrary",
    "javbus",
    "mgstageja",
    "aventertainment",
    "tokyohot"
  ],
  "sort.metadata.priority.id": [
    "javlibrary",
    "javbus",
    "mgstageja",
    "aventertainment",
    "tokyohot"
  ],
  "sort.metadata.priority.contentid": [
    "dmmja",
    "javbus",
    "tokyohot"
  ],
  "sort.metadata.priority.label": [
    "javlibrary",
    "mgstageja",
    "javbus",
    "tokyohot"
  ],
  "sort.metadata.priority.maker": [
    "javlibrary",
    "javbus",
    "mgstageja",
    "aventertainment",
    "tokyohot"
  ],
  "sort.metadata.priority.releasedate": [
    "javlibrary",
    "dmmja",
    "javbus",
    "mgstageja",
    "aventertainment",
    "tokyohot"
  ],
  "sort.metadata.priority.rating": [
    "dmmja",
    "javlibrary",
    "mgstageja",
    "tokyohot"
  ],
  "sort.metadata.priority.runtime": [
    "javlibrary",
    "dmmja",
    "javbus",
    "mgstageja",
    "aventertainment",
    "tokyohot"
  ],
  "sort.metadata.priority.series": [
    "mgstageja",
    "javbus",
    "tokyohot"
  ],
  "sort.metadata.priority.screenshoturl": [
    "javlibrary",
    "dmmja",
    "javbus",
    "mgstageja",
    "aventertainment",
    "tokyohot"
  ],
  "sort.metadata.priority.title": [
    "javlibrary",
    "javbus",
    "mgstageja",
    "aventertainment",
    "tokyohot"
  ],
  "sort.metadata.priority.trailerurl": [
    "dmmja",
    "tokyohot"
  ],
  "emby.url": "http://192.168.0.1:8096",
  "emby.apikey": "",
  "javlibrary.baseurl": "http://www.javlibrary.com",
  "javlibrary.browser.useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0",
  "javlibrary.cookie.cf_chl_2": "dd9f360ed96b3ac",
  "javlibrary.cookie.cf_chl_prog": "3yqbsbQxy7My72EDU5UvMSy2G8rXg9gAOmyY8ABJyrA-1680875209-0-AXuWXAIq0faYd7oevIlTdmvH+Rmwz46en082Lw/Z8bsRgpBhil+ejWlEnx+euCGf0kptXVukjo1YHacmjzM0oWyaVsDt2KkvyF/iTPAY7PL9Uy9j2iOKHo35pX9BifQa5Q==",
  "javlibrary.cookie.cf_clearance": "jytJGW58lJpcriykyiKfpdJRhgyoe3Uzp8fCKDov43g-1680875271-0-160",
  "javlibrary.cookie.session": "",
  "javlibrary.cookie.userid": "",
  "javdb.cookie.session": "",
  "proxy.enabled": false,
  "proxy.host": "",
  "proxy.username": "",
  "proxy.password": "",
  "web.favorites.genre": [
    "Uncensored"
  ],
  "web.favorites.tag": [],
  "web.sort.recurse": false,
  "web.sort.strict": false,
  "web.sort.interactive": true,
  "web.sort.update": false,
  "web.sort.force": false,
  "web.sort.preview": false,
  "web.sort.recursedepth": 0,
  "web.sort.confirm": false,
  "web.sort.manualsearch.aventertainment": false,
  "web.sort.manualsearch.aventertainmentja": false,
  "web.sort.manualsearch.dmm": false,
  "web.sort.manualsearch.dmmja": false,
  "web.sort.manualsearch.jav321ja": false,
  "web.sort.manualsearch.javbus": false,
  "web.sort.manualsearch.javbusja": false,
  "web.sort.manualsearch.javbuszh": false,
  "web.sort.manualsearch.javdb": false,
  "web.sort.manualsearch.javdbzh": false,
  "web.sort.manualsearch.javlibrary": false,
  "web.sort.manualsearch.javlibraryja": false,
  "web.sort.manualsearch.javlibraryzh": false,
  "web.sort.manualsearch.mgstageja": false,
  "web.sort.manualsearch.r18dev": false,
  "web.sort.manualsearch.tokyohot": true,
  "web.sort.manualsearch.tokyohotja": false,
  "web.sort.manualsearch.tokyohotzh": false,
  "web.theme": "dark",
  "admin.log": true,
  "admin.log.level": "info",
  "admin.updates.check": true
}
seeyabye commented 1 year ago

The filenames will be remapped to DMM's format by default.

In your case, you should check the Strict box to ensure that the filename doesn't change. It will match with nXXXX

pnthach95 commented 1 year ago

All good. Thank you