picorana / amazon-scraper Goto Github PK
View Code? Open in Web Editor NEWamazon-scraper is a command line application to collect reviews and questions/answers from amazon products.
License: The Unlicense
amazon-scraper is a command line application to collect reviews and questions/answers from amazon products.
License: The Unlicense
Traceback (most recent call last):
File "/usr/local/bin/amazon-scraper", line 11, in
load_entry_point('amazon-scraper==0.0.1', 'console_scripts', 'amazon-scraper')()
File "/usr/local/lib/python2.7/site-packages/amazon_scraper-0.0.1-py2.7.egg/amazon_scraper/app.py", line 463, in main
scraper.scrape()
File "/usr/local/lib/python2.7/site-packages/amazon_scraper-0.0.1-py2.7.egg/amazon_scraper/app.py", line 73, in scrape
main_reviews_url, review_pages_number = self.retrieve_page(asin)
File "/usr/local/lib/python2.7/site-packages/amazon_scraper-0.0.1-py2.7.egg/amazon_scraper/app.py", line 324, in retrieve_page
"div", { "id" : "reviews-medley-footer" }
AttributeError: 'NoneType' object has no attribute 'find'
app.py", line 332, in retrieve_page
.split(" customer")[0].replace(",", ""))/10))
ValueError: invalid literal for float(): 33 reviews
I get an inconsistent use of tabs and spaces error in line 103. I tried to convert tabs to spaces etc but nothing helped. any suggestions?
if not os.path.exists('./questions'): os.makedirs('./questions')
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.