Giter Site home page Giter Site logo

Comments (5)

jonbakerfish avatar jonbakerfish commented on August 16, 2024

What is the spider's output error message? I tested query='monkey,coffee,love,gorilla', and it returned 2 tweets. If you search these keywords on Twitter Search. It shows that there are only 2 tweets.

from tweetscraper.

simonlindgren avatar simonlindgren commented on August 16, 2024

So, maybe I have misunderstood what the expected output should be. The instances that I have perceived as not working may just be very very short scraping jobs. It seems then that the queries are joined together by an AND logic (rather than OR). Am I right?

from tweetscraper.

jonbakerfish avatar jonbakerfish commented on August 16, 2024

Yes. The whole query will send to twitter search directly ( see TweetCrawler.py#L39 )

from tweetscraper.

simonlindgren avatar simonlindgren commented on August 16, 2024

Yes, of course! I see that now. Consequently:

query='monkey OR coffee OR love OR #gorilla'

is what I was looking for, and it also works. I clarified this in my post on your excellent scraper: http://www.simonlindgren.com/stuff/2017/11/7/scrape-tweets-without-using-the-api

from tweetscraper.

jonbakerfish avatar jonbakerfish commented on August 16, 2024

Glad it help your work and thanks for sharing. Closing the issue now.

from tweetscraper.

Related Issues (20)

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.