Skip to content

sceneByFragment cannot find scene for SexLikeReal? #2069

Open
@NormanPriv

Description

@NormanPriv

I am new to the scrapers, but I have never successfully got "Scrape with fragment" to work with the SexLikeReal scraper.

It always gives the root URL without finding the URL for the specific scene and getting info for that scene.

Here is the part from SexLikeReal.yml that deals with the fragment:

sceneByFragment:
  action: scrapeXPath
  # url format: https://www.sexlikereal.com/scenes/{title}-{code}
  # However, the url:
  #     https://www.sexlikereal.com/{code}
  # will redirect to the full url so that is what we will use for scrapping
  queryURL: https://www.sexlikereal.com/{filename}
  queryURLReplace:
    # filename format:
    #   SLR_{stufio:[^_]+}_{title:[^_]+}_{res:\d+p}_{code:\d+}_{vrtype}.{ext}
    #     vrtype: stuff we do not care about but could contain '_'
    filename:
      - regex: (?i)^SLR_.+_\d+p_(\d+)_.*$
        with: $1
      - regex: .*\.[^\.]+$ # if no id is found in the filename
        with: # clear the filename so that it doesn't leak
  scraper: sceneScraper

It seems that the regex that replaces filename with the studio code is not working.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions