Skip to content

Commit

Permalink
maintain newlines in scene description
Browse files Browse the repository at this point in the history
  • Loading branch information
nrg101 committed Dec 16, 2024
1 parent d142e11 commit bca2d73
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scrapers/VirtualRealTrans.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# yaml-language-server: $schema=../validator/scraper.schema.json
name: VirtualRealTrans

sceneByURL:
Expand Down Expand Up @@ -60,6 +61,10 @@ xPathScrapers:
Details: &detailsSel
selector: //div[@class="description_container"]/p
concat: "\n\n"
postProcess:
- replace:
- regex: ([A-Za-z])(\.)([A-Za-z])
with: "$1$2\n\n$3"
Tags:
Name:
selector: //div[@class="metaHolder"]//a/span/text()|//script[@type="application/ld+json"][contains(text(),"genre")]/text()
Expand Down Expand Up @@ -153,4 +158,4 @@ xPathScrapers:
}
return value
Image: //div[@class="feature_img_model"]/img/@src
# Last Updated August 21, 2024
# Last Updated December 16, 2024

0 comments on commit bca2d73

Please sign in to comment.