Skip to content

Commit

Permalink
make Code regex work for old video URLs; simplify date parsing in sce…
Browse files Browse the repository at this point in the history
…ne scraper
  • Loading branch information
nrg101 committed Jan 8, 2025
1 parent 83ac98d commit cfbbcf4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scrapers/RealJamVR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ xPathScrapers:
Date: &date
selector: //div[@class="specs-icon"]/following-sibling::strong
postProcess:
- replace:
- regex: ^([a-zA-Z]{3})\D*(\d{1,2},\s*\d+)$
with: $1. $2
# both date formats are used interchangeably
- parseDate: Jan. 2, 2006
- parseDate: January 2, 2006
Performers: &performers
Name: //div[contains(@class,"scene-view")]/a[contains(@href,"/actor/")]
Tags: &tags
Expand Down Expand Up @@ -59,6 +58,8 @@ xPathScrapers:
- replace:
- regex: .*/scenes/(\d+)/.*
with: $1
- regex: .*/videos_app/\w+/(\d+)_.*
with: $1
gallery:
Title: *title
Date: *date
Expand Down

0 comments on commit cfbbcf4

Please sign in to comment.