Skip to content

Commit

Permalink
Fixes trimming in parser
Browse files Browse the repository at this point in the history
  • Loading branch information
gosom committed Oct 12, 2024
1 parent 10d6ec4 commit 80192dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gmaps/place.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (j *PlaceJob) BrowserActions(_ context.Context, page playwright.Page) scrap
return resp
}

const prefix = `)]}\n'`
const prefix = `)]}'`

raw = strings.TrimSpace(strings.TrimPrefix(raw, prefix))

Expand Down

0 comments on commit 80192dc

Please sign in to comment.