Refactored various modules for entities. Updated and refactored Kink scraper.
This commit is contained in:
15
src/argv.js
15
src/argv.js
@@ -11,23 +11,18 @@ const { argv } = yargs
|
||||
alias: 'web',
|
||||
})
|
||||
.option('scrape', {
|
||||
describe: 'Scrape sites and networks defined in configuration',
|
||||
describe: 'Scrape channels and networks defined in configuration',
|
||||
type: 'boolean',
|
||||
})
|
||||
.option('networks', {
|
||||
describe: 'Networks to scrape (overrides configuration)',
|
||||
describe: 'Network to scrape all channels from (overrides configuration)',
|
||||
type: 'array',
|
||||
alias: 'network',
|
||||
})
|
||||
.option('sites', {
|
||||
describe: 'Sites to scrape (overrides configuration)',
|
||||
.option('channels', {
|
||||
describe: 'Channel to scrape (overrides configuration)',
|
||||
type: 'array',
|
||||
alias: 'site',
|
||||
})
|
||||
.option('entities', {
|
||||
describe: 'Networks or sites to scrape (overrides configuration)',
|
||||
type: 'array',
|
||||
alias: 'entity',
|
||||
alias: 'channel',
|
||||
})
|
||||
.option('actors', {
|
||||
describe: 'Scrape actors by name or slug',
|
||||
|
||||
Reference in New Issue
Block a user