Hey all,
first of all: Thank you for the development of this crawler! It should be a great help for my studies!
However, I get an error message when ultimately running the amazon_scraper command:
reviews <- amazon_scraper(doc, reviewer = F, delay = 2) #here comes the error message
#Hide Traceback
#Rerun with Debug
#Error in data.frame(title, author, date, ver.purchase, format, stars, :
arguments imply differing number of rows: 10, 0
3.
stop(gettextf("arguments imply differing number of rows: %s",
paste(unique(nrows), collapse = ", ")), domain = NA)
2.
data.frame(title, author, date, ver.purchase, format, stars,
comments, helpful, stringsAsFactors = F) at amazonscraper.R#57
1.
amazon_scraper(doc, reviewer = F, delay = 2)
Does somebody have a clue what the reason could be? I attach my script & environment, thank you!
Script_AmazonScraper.txt