Initialize the repository for the wikia user roles scraper project.
This commit is contained in:
15
scrape_log.sh
Executable file
15
scrape_log.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# you specify a csv file that has a list of wikis
|
||||
wikilist=example/wikiList.csv
|
||||
|
||||
# specify a location for the output
|
||||
output=userroles/logevents/
|
||||
o1=userroles
|
||||
mkdir $o1
|
||||
mkdir $output
|
||||
|
||||
blocks_output=userroles/blockevents/
|
||||
mkdir $blocks_output
|
||||
|
||||
./userroles_from_logevents.py --sep=',' --blocks-output=$blocks_output $wikilist $output
|
||||
Reference in New Issue
Block a user