Update nexus scraper to use new graphql api

Modmapper hasn't been pulling in new mods for a while because nexus mods changed their mod listing page to use a new graphql API and the old API I was using no longer works.
This commit is contained in:
2025-05-30 15:07:53 -04:00
parent 1a105a3ea2
commit 7b8fbea7d4
5 changed files with 248 additions and 194 deletions

View File

@@ -37,7 +37,7 @@ RUST_LOG=mod_mapper=debug
4. Install
[`sqlx_cli`](https://github.com/launchbadge/sqlx/tree/master/sqlx-cli) with
`cargo install sqlx-cli --no-default-features --features postgres`
5. Run `sqlx migrate --source migrations run` which will run all the database migrations.
5. Run `sqlx migrate run` which will run all the database migrations.
6. Get your personal Nexus API token from your profile settings and add it to
the `.env` file: