#!/bin/sh | |
fileName=$1 | |
for c in $(cat $fileName); do | |
path=$(echo $c | grep '/wiki/' | sed 's/href="//' | sed 's/"//') | |
if [ ! -z $path ] ; then | |
python python_parser.py http://en.wikipedia.org$path; | |
fi; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment