Skip to content

Commit

Permalink
scraper: fix scraping from ScreenScraper.fr
Browse files Browse the repository at this point in the history
Added the patch from @Torben2000 [1] which fixes scraping from the ScreenScraper source.
Can be removed when/if upstream (@sselph) accepts the changes in the main repository.

[1] sselph/scraper#265
  • Loading branch information
cmitu committed Aug 20, 2022
1 parent 58a385d commit 84a6d73
Show file tree
Hide file tree
Showing 2 changed files with 524 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scriptmodules/supplementary/scraper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ function sources_scraper() {
GOPATH="$md_build" GOROOT="$goroot" "$goroot/bin/go" get -u github.com/sselph/scraper
# Use an older version of the TGDB go REST bindings, since the new one is not compatible with scraper
git -C "$md_build/src/github.com/J-Swift/thegamesdb-swagger-client-go/" checkout 43ed8a0b364ed2d8521d0
# Fix ScreenScraper scraping with the patch from PR-#265
git -C "$md_build/src/github.com/sselph/scraper" apply "$md_data/00-fix-screenscraper-response-parsing-265.diff"
# manually set repo_dir for packaging info / version checking
__mod_info[$md_id/repo_dir]="$md_build/src/github.com/sselph/scraper"
}
Expand Down
Loading

0 comments on commit 84a6d73

Please sign in to comment.