Skip to content

Commit

Permalink
Update model_external_reference.go
Browse files Browse the repository at this point in the history
Fix javdatabase actor scrape
  • Loading branch information
gaarder authored Jan 5, 2025
1 parent d5ae8e7 commit 2cd0962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/models/model_external_reference.go
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ func (scrapeRules ActorScraperConfig) buildGenericActorScraperRules() {

siteDetails = GenericScraperRuleSet{}
siteDetails.Domain = "www.javdatabase.com"
siteDetails.SiteRules = append(siteDetails.SiteRules, GenericActorScraperRule{XbvrField: "image_url", Selector: `img[data-src^="https://www.javdatabase.com/idolimages/full/"]`, ResultType: "attr", Attribute: "data-src", PostProcessing: []PostProcessing{
siteDetails.SiteRules = append(siteDetails.SiteRules, GenericActorScraperRule{XbvrField: "image_url", Selector: `img[src^="https://www.javdatabase.com/idolimages/full/"]`, ResultType: "attr", Attribute: "src", PostProcessing: []PostProcessing{
{Function: "AbsoluteUrl"},
}})
siteDetails.SiteRules = append(siteDetails.SiteRules, GenericActorScraperRule{XbvrField: "images", Selector: `a[href^="https://pics.dmm.co.jp/digital/video/"]:not([href^="https://pics.dmm.co.jp/digital/video/mdj010/"])`, ResultType: "attr", Attribute: "href", PostProcessing: []PostProcessing{
Expand Down

0 comments on commit 2cd0962

Please sign in to comment.