Skip to content

Commit

Permalink
Merge branch 'master' into impatient
Browse files Browse the repository at this point in the history
  • Loading branch information
vt-idiot committed May 16, 2023
2 parents 4e36fd0 + 93a734c commit f6fc788
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ image:
file: .gitpod.dockerfile
tasks:
- name: Continuous Build
command: cd /workspace/xbvr && yarn dev
command: yarn global add concurrently && go install github.com/cosmtrek/air@latest && cd /workspace/xbvr && go generate && go get && yarn && yarn dev
ports:
- port: 9999
onOpen: open-preview
Expand Down
4 changes: 2 additions & 2 deletions pkg/api/heresphere.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func (i HeresphereResource) getHeresphereFile(req *restful.Request, resp *restfu
Height: height,
Width: width,
Size: file.Size,
URL: fmt.Sprintf("%v://%v/api/dms/file/%v/%v/%v", getProto(req), req.Request.Host, file.ID, file.Filename, dnt),
URL: fmt.Sprintf("%v://%v/api/dms/file/%v/%v", getProto(req), req.Request.Host, file.ID, dnt),
},
},
})
Expand Down Expand Up @@ -335,7 +335,7 @@ func (i HeresphereResource) getHeresphereScene(req *restful.Request, resp *restf
Height: height,
Width: width,
Size: file.Size,
URL: fmt.Sprintf("%v://%v/api/dms/file/%v/%v/%v", getProto(req), req.Request.Host, file.ID, scene.GetFunscriptTitle(), dnt),
URL: fmt.Sprintf("%v://%v/api/dms/file/%v/%v", getProto(req), req.Request.Host, file.ID, dnt),
},
},
}
Expand Down
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 f6fc788

Please sign in to comment.