Skip to content

Commit

Permalink
Merge pull request #4 from vt-idiot/javr-javdatabase-cast
Browse files Browse the repository at this point in the history
Update javdatabase.go
  • Loading branch information
vt-idiot authored May 16, 2023
2 parents 9adce0a + eaecb77 commit b6a3002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scrape/javdatabase.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func ScrapeJavDB(out *[]models.ScrapedScene, queryString string) {

// Cast
html.ForEach("h2.subhead", func(id int, h2 *colly.HTMLElement) {
if h2.Text == "Featured Idols" {
if strings.HasSuffix(h2.Text, "Actress/Idols") {
dom := h2.DOM
parent := dom.Parent()
if parent != nil {
Expand Down

0 comments on commit b6a3002

Please sign in to comment.