Giter VIP home page Giter VIP logo

Comments (8)

tomiwaAdey avatar tomiwaAdey commented on June 30, 2024

It seems Watir has dropped support for PhantomJS. I'll update the script to use headless chrome instead.

To use headless chrome (Mac)

  1. 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.

  2. type brew install chromedriver

  3. change all the lines 53, 68, 97
    from
    browser = Watir::Browser.new :phantomjs
    to
    browser = Watir::Browser.new :chrome, {headless: true}

from twitter_script.

vladkls avatar vladkls commented on June 30, 2024

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.

tomiwaAdey avatar tomiwaAdey commented on June 30, 2024

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.

vladkls avatar vladkls commented on June 30, 2024

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.

tomiwaAdey avatar tomiwaAdey commented on June 30, 2024

Which method are you using?

from twitter_script.

vladkls avatar vladkls commented on June 30, 2024

initialize_from_gsheet, the 190 line

from twitter_script.

tomiwaAdey avatar tomiwaAdey commented on June 30, 2024

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.

photboard avatar photboard commented on June 30, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.