mirror of
https://github.com/p-stream/providers.git
synced 2026-01-11 20:10:33 +00:00
minor update to docs
This commit is contained in:
parent
83bd6ef33d
commit
cebdfa0980
1 changed files with 2 additions and 1 deletions
|
|
@ -85,6 +85,7 @@ Every scraper has a **rank** that determines its priority in the execution queue
|
|||
- Failed scrapers are skipped, next rank is tried
|
||||
|
||||
### Rank Ranges
|
||||
Usually ranks should be on 10s: 110, 120, 130...
|
||||
```typescript
|
||||
// Typical rank ranges (not enforced, but conventional)
|
||||
Sources: 1-300
|
||||
|
|
@ -125,7 +126,7 @@ Before choosing a rank, check what's already taken:
|
|||
grep -r "rank:" src/providers/ | sort -t: -k3 -n
|
||||
```
|
||||
|
||||
Or check the all.ts file to see which scrapers are currently registered and their ranks.
|
||||
Or check the cli to see the ranks.
|
||||
|
||||
::alert{type="warning"}
|
||||
**Duplicate ranks will cause conflicts!** Always verify your chosen rank is unique before submitting.
|
||||
|
|
|
|||
Loading…
Reference in a new issue