Skip to content

Commit

Permalink
adjust regex replace to match WxH only at end of filename
Browse files Browse the repository at this point in the history
  • Loading branch information
nrg101 committed Jan 10, 2025
1 parent ce8fc0c commit a51608c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scrapers/VRPorn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ xPathScrapers:
selector: //main/article/header//dl8-video/@poster
postProcess:
- replace:
- regex: -\d+x\d+
with: ""
- regex: (.*)(-\d+x\d+)(.jpg)
with: $1$3
URL: &sceneUrl //link[@rel="canonical"]/@href
sceneSearch:
common:
Expand Down

0 comments on commit a51608c

Please sign in to comment.