endymion / email_spider Goto Github PK
View Code? Open in Web Editor NEWA simple Ruby web spider that uses Anemone to crawl every page of a site looking for email addresses. Stores the results with SQLite3 using Data Mapper.
A simple Ruby web spider that uses Anemone to crawl every page of a site looking for email addresses. Stores the results with SQLite3 using Data Mapper.
I've been working on making it so that its read from a csv file that I scraped results off of Google and crawls them looking for email. But I've been getting an error that I cannot shake off.
/usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/uri/rfc3986_parser.rb:66:in split': bad URI(is not URI?): http://apps.washingtonpost.com/local/highschoolchallenge/ (URI::InvalidURIError) from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/uri/rfc3986_parser.rb:72:in
parse'
from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/uri/common.rb:226:in parse' from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/uri/common.rb:713:in
URI'
from crawl2.rb:13:in block in <main>' from crawl2.rb:12:in
each'
from crawl2.rb:12:in `
I've Googled and googled and tired everything I could find/ think of, with no avail.
I planned to put the script on here anyways, any ideas why its putting that error?
Heres my source code: http://pastebin.com/jXL2FDac
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.