Git Product home page Git Product logo

hashtag-scraper's People

Contributors

tampe125 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hashtag-scraper's Issues

Connection Issue

Hi, i keep getting this error after a minute or so of running

Traceback (most recent call last):
File "hashtag-scraper.py", line 135, in
scraper.run()
File "hashtag-scraper.py", line 96, in run
for tweet in tweets:
File "/usr/local/lib/python2.7/dist-packages/twitter/api.py", line 4383, in GetStreamSample
for line in resp.iter_lines():
File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 720, in iter_lines
for chunk in self.iter_content(chunk_size=chunk_size, decode_unicode=decode_unicode):
File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 679, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(0 bytes read, 203 more expected)', IncompleteRead(0 bytes read, 203 more expected))

Do you know why this happens, how to fix this or what to do

Thanks

language filter option does not work

Hi tampe125,

Great tool you made love it! but i found a bug when using the --l option with the language code nl which stand for the Dutch lang no output is shown.
I also tried it with the language code de.

When running your tool without any options within a couple of minutes the first 100 words are fetched. when running it with the -l nl option it is stuck on the text "14:25:33|[INFO] Got stream, starting to analyze tweets"

Thanks in advance.

Couple of questions on usage.

-l --lang , You mention en is default although if i want another lang do we use the standard 2 letter abbreviations, ie: de and fr.

On the first pass I scraped 17k hashtags although it took sometime (4h30m), now if I where to re-run would the scraper likely find duplicates?

Great work and nice idea btw.

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.