/!\ DOES NOT WORK SINCE THE LATEST SENSCRITIQUE UPDATE WITH USES CLIENT-SIDE RENDERING :/
/!\ I since changed the URL to old.senscritique.com, so this will actually work (as long as old.senscritique.com refers to the old server-side-rendered website)
/!\ For some time now, even old.senscritique.com refers to the new client-side rendered website. So this program won't work anymore.
A fast and easy way to backup a SensCritique user or list.
- From GitHub releases: download the binary corresponding to your OS and architecture.
- From source (make sure
$GOPATH/bin
is in your$PATH
):
go get go.mlcdf.fr/sc-backup
Usage:
sc-backup --collection [USERNAME]
sc-backup --list [URL]
Options:
-c, --collection USERNAME Backup a user's collection
-l, --list URL Backup a list
-o, --output PATH Directory at which to backup the data. Defaults to ./output
-f, --format json|csv Export format. Defaults to json
-p, --pretty Prettify the JSON exports
-v, --verbose Print verbose output
-V, --version Print version
Examples:
sc-backup --collection mlcdf
sc-backup --list https://www.senscritique.com/liste/Vu_au_cinema/363578
Check out the examples to see what the output looks like.
Run the app
go run main.go
Run the tests
go test ./...