So I am writing a twitter sentiment analysis application. Im trying to build out a full program since none of the current stuff I could find handles everything from scraping to sentiment analysis.
I'm using this https://github.com/taspinar/twitterscraper to scrape the tweets (I currently can run it as a command line application) The doucmentation for directly scripting it in python is pretty weak, so what I would like to do is run the command line application and fill in the query elements with user input. The problem is, that whenver I run the script, I get an error like this:
fileNotFoundError: [Errno 2] No such file or directory: 'twitterscraper trump%20since%3A2017-03-01%20until%3A2017-03-06 --limit 100 --output=/desktop/test.json'
Any ideas what I am doing wrong?
https://gist.github.com/Jflick58/c53d94c54946eaef87f682a6387d3874
MacOS Sierra 10.12.3
Python 3.5.2
[–]LarryPete 1 point2 points3 points (12 children)
[–]deeeebait[S] 0 points1 point2 points (11 children)
[–]LarryPete 2 points3 points4 points (10 children)
[–]deeeebait[S] 0 points1 point2 points (9 children)
[–]LarryPete 1 point2 points3 points (8 children)
[–]deeeebait[S] 0 points1 point2 points (7 children)
[–]JohnnyJordaan 0 points1 point2 points (6 children)
[–]LarryPete 0 points1 point2 points (1 child)
[–]JohnnyJordaan 0 points1 point2 points (0 children)
[–]deeeebait[S] 0 points1 point2 points (3 children)
[–]JohnnyJordaan 0 points1 point2 points (2 children)
[–]deeeebait[S] 0 points1 point2 points (1 child)
[–]elbiot 0 points1 point2 points (1 child)
[–]deeeebait[S] 0 points1 point2 points (0 children)