Comments (8)
It seems Watir has dropped support for PhantomJS. I'll update the script to use headless chrome instead.
To use headless chrome (Mac)
-
Install homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
You'll have to wait a while for homebrew to install. -
type
brew install chromedriver
-
change all the lines 53, 68, 97
from
browser = Watir::Browser.new :phantomjs
to
browser = Watir::Browser.new :chrome, {headless: true}
from twitter_script.
Well, I've changed, no errors this time, but when I try to rule the "ruby twitter.rb &" command, looks like there is a process ruling and then gets me the text
[1] 29943
does it make any sense to you? (remind: completely non-technical, first lines of code in my life, sorry)
I've tried to rule the process for this tweet , and I've even tried just an account, still didn't work.
what I'm trying to do is to extract RTs and Favorites from the tweet, let me know if there is this possibility as well. thanks a bunch for the help!
from twitter_script.
Yup! That shows that it's working.
You can also type "ruby twitter.rb" without the "&" so you can see the output.
You've done well :)
There's no function right now to extract RTs and favourites, but now you mention it, I'll add a function to do that when I have time.
Anytime Vlad.
from twitter_script.
Yes, but still nothing changes in my spreadsheet, it's completely blank :(, maybe I've done something wrong
should I add the columns myself, or the script automatically creates them?
from twitter_script.
Which method are you using?
from twitter_script.
initialize_from_gsheet, the 190 line
from twitter_script.
Do you have a list of Twitter profile URLs are in the first column of your spreadsheet?
Point 3 in the "Get leads details" readme
from twitter_script.
Is there homebrew alternative for Windows 7?
Can you write how to change for Windows 7 plz?
from twitter_script.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitter_script.