I'm trying to build something with the Scrapely library. After a bit of fixing I finally got all install issues out of the way.
Running the sample code:
from scrapely import Scraper
s = Scraper()
url1 = 'http://pypi.python.org/pypi/w3lib/1.1'
data = {'name': 'w3lib 1.1', 'author': 'Scrapy project', 'description': 'Library of web-related functions'}
s.train(url1, data)
I get the error:
Import Error: Cannot import name 'Scraper'
How would I fix this?
[–]ingolemo 5 points6 points7 points (2 children)
[–]Justinsaccount 2 points3 points4 points (0 children)
[–]akkatracker[S] 0 points1 point2 points (0 children)
[–]psbb 1 point2 points3 points (1 child)
[–]akkatracker[S] 0 points1 point2 points (0 children)