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

Using a regex instead of ID placement #282

Open sxales opened 5 years ago

sxales commented 5 years ago

There is no convention among release groups on the placement of JAV IDs so it would be nice if the scraper used a regex such as [a-zA-Z]{2,5}[-_]{0,1}[0-9]{3,5}. Instead of searching for the last word in the file name.

rahadiancs commented 5 years ago

I don't know about others, but I usually renamed the directory to the correct JAV ID and nothing more (no titles, no nothing). Also your regex would missed some ID like 24ID-020 and 300MAAN-020.