mirror of
https://github.com/stashapp/CommunityScrapers.git
synced 2025-12-10 17:32:09 -06:00
Scraping full date
Changed way date is scraped to grab full date instead of just the year, after review by DogmaDragon.
This commit is contained in:
parent
6714f950dc
commit
c64912bf01
@ -12,12 +12,11 @@ xPathScrapers:
|
||||
Image:
|
||||
selector: //video[@id="product-img"]/@poster
|
||||
Date:
|
||||
selector: //li[contains(.,"Year:")]
|
||||
selector: //script[@class="yoast-schema-graph"]
|
||||
postProcess:
|
||||
- replace:
|
||||
- regex: ^\s*Year:\s*
|
||||
with: ''
|
||||
- parseDate: 2006
|
||||
- regex: .+datePublished\"\:\"(\d{4}-\d{2}-\d{2}).+
|
||||
with: $1
|
||||
Director:
|
||||
selector: //li[contains(.,"Director:")]
|
||||
postProcess:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user