preset scraper added
This commit is contained in:
3
config/default.yaml
Normal file
3
config/default.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
scope:
|
||||
allow: [info, web, rutracker, prescene]
|
||||
default: web
|
||||
@@ -1,4 +0,0 @@
|
||||
db:
|
||||
driver: mysql
|
||||
data_source_name: user:passwd@(localhost:3306)/dbname
|
||||
|
||||
1
config/scope/info.yaml
Normal file
1
config/scope/info.yaml
Normal file
@@ -0,0 +1 @@
|
||||
role: console
|
||||
69
config/scope/prescene.yaml
Normal file
69
config/scope/prescene.yaml
Normal file
@@ -0,0 +1,69 @@
|
||||
role: console
|
||||
endpoint: https://scnlog.me/music/flac/
|
||||
endpoint-next: page/%s/
|
||||
sleep-before-next-iteration: 5s
|
||||
levels-to-scrape: 5
|
||||
groups:
|
||||
tags:
|
||||
neformat:
|
||||
- SHGZ
|
||||
remove:
|
||||
- BIGLOVE
|
||||
- CT
|
||||
- ENViED
|
||||
- GARLICKNOTS
|
||||
- Ouzo
|
||||
- PTCx
|
||||
- SHGZ
|
||||
- XiVERO
|
||||
ignore:
|
||||
- "401"
|
||||
- 6DM
|
||||
- AFO
|
||||
- AOVF
|
||||
- AOVF_Classics
|
||||
- AUDiOFiLE
|
||||
- BABAS
|
||||
- BBD
|
||||
- BEATOCUL
|
||||
- CALiFLAC
|
||||
- CEBAD
|
||||
- D2H
|
||||
- DALiAS
|
||||
- dh
|
||||
- DWM
|
||||
- EMP
|
||||
- ENRiCH
|
||||
- ERP
|
||||
- ESGFLAC
|
||||
- FATHEAD
|
||||
- FiXIE
|
||||
- FLACME
|
||||
- FrB
|
||||
- HOUND
|
||||
- JRO
|
||||
- KINDA
|
||||
- MAHOU
|
||||
- MFDOS
|
||||
- MLS
|
||||
- Mrflac
|
||||
- MUNDANE
|
||||
- MyDad
|
||||
- OBZEN
|
||||
- OTT
|
||||
- PERFECT
|
||||
- PLAYLiST
|
||||
- PTC
|
||||
- PWT
|
||||
- RAGEFLAC
|
||||
- RAWBEATS
|
||||
- RECTiFY
|
||||
- ROSiN
|
||||
- STAX
|
||||
- THEVOiD
|
||||
- TiMES
|
||||
- TM
|
||||
- TVRf
|
||||
- VEXED
|
||||
- WAVED
|
||||
- YARD
|
||||
3
config/scope/web.yaml
Normal file
3
config/scope/web.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
role: web
|
||||
http:
|
||||
port: 19576
|
||||
6
config/secret.yaml-sample
Normal file
6
config/secret.yaml-sample
Normal file
@@ -0,0 +1,6 @@
|
||||
db:
|
||||
driver: mysql
|
||||
data_source_name: <user:pass@(localhost:3306)/bd_name>
|
||||
jwt:
|
||||
ttl: 6h12m24s
|
||||
sign_key: <your key>
|
||||
Reference in New Issue
Block a user