FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

motin/readability-batch-csv: Fork reason: Modified the generate-testcase script to read from urls.csv (lines of "slug,url") to generate test-cases from as well as save results.json which includes the url and readerable flag as determined by readability · GitHub

 
 

Repository files navigation

Readability.js - Batch CSV Fork

Fork reason: Modified the generate-testcase script to read from urls.csv (lines of "slug,url") to generate test-cases from as well as save results.json which includes the url and readerable flag as determined by readability.

Usage

Create urls.csv in the test folder, then run generate-testcase.js:

cd test
echo 'google,https://google.com
fintech,https://medium.com/at-the-front-line/european-fintech-trends-2017-59db5c8e55e3
fileaccess,https://medium.freecodecamp.org/speed-up-file-access-in-docker-for-mac-fbeee65d0ee7' > urls.csv
node --trace-warnings generate-testcase.js urls.csv

The results are stored in results.json in the same directory.

For additional debug-output:

node --trace-warnings generate-testcase.js urls.csv debug

For large files, split them first:

split -l 1000 input_file output_file

Results are stored in the local filesystem:

About

Fork reason: Modified the generate-testcase script to read from urls.csv (lines of "slug,url") to generate test-cases from as well as save results.json which includes the url and readerable flag as determined by readability

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL