Name: scripts
Owner: The ContentMine
Description: Shell and Python scripts for utility activities
Created: 2016-08-19 09:02:36.0
Updated: 2017-02-09 15:43:08.0
Pushed: 2017-02-01 10:25:13.0
Size: 708
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Scripts (initially BASH but could be others) to run commandline applications. To install quickscrape:
install --global git+http://github.com/tarrow/getpapers#improveCrossRefSingleFilter
sets up global variables for later applications. Will need editing for local addresses
list of open publishers (by Crossref membership)
list of open licenses
runs getpapers on crossref, optionally using licenses or publishers
merge 2 cprojects (e.g. results of crossref on licenses and publishers)
run quickscrape
restart a quickscrape (not yet finialised)
extract shuffled URLs from CProject
merge results of crossref on licenses and publishers
extract data from crossref on open publications
rename files in ctrees.
the latest dev release of quickscrape is installed with:
install -g git+https://github.com/tarrow/quickscrape#enableCMLayout
The details will differ according to where node
is installed. Here's PMR's:
r: Cannot find module '/usr/local/n/versions/node/6.2.1/lib/node_modules/quickscrape/node_modules/spooky/lib/../node_modules/tiny-jsonrpc/lib/tiny-jsonrpc' so moving on to next url in list
fe JavaScript attempt to access frame with URL about:blank from frame with URL file:///usr/local/n/versions/node/6.2.1/lib/node_modules/quickscrape/node_modules/casperjs/bin/bootstrap.js. Domains, protocols and ports must match.
/local/n/versions/node/6.2.1/lib/node_modules/quickscrape/node_modules/eventemitter2/lib/eventemitter2.js:290
throw arguments[1]; // Unhandled 'error' event
^
r: Child terminated with non-zero exit code 1
at Spooky.<anonymous> (/usr/local/n/versions/node/6.2.1/lib/node_modules/quickscrape/node_modules/spooky/lib/spooky.js:210:17)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
find where your quickscrape is:
h quickscrape
s:
/local/n/versions/node/6.2.1/bin/quickscrape
te the top level dir
/local/n/versions/node/6.2.1/
r might have
e/$USER/.nvm/versions/node/v6.3.1
then copy files from the lib
directory (after adjusting)
usr/local/n/versions/node/6.2.1/lib/node_modules/quickscrape/
r node_modules/tiny-jsonrpc node_modules/spooky/node_modules