Git Product home page Git Product logo

tgscrape's Issues

Question about output

Hello,
Is it possible to export the results of tgscape_cli.py into a csv file?
Thanks!
Rich

Error: list index out of range

I'm guessing this is happening when the program encounters deleted messages?

To reproduce:

python3 tgscrape.py OSMIndia

Output: (irrelevant parts redacted)

> Telegram Public Groups Scraper

[2017-12-03T16:54:34+00:00] Max N (@... ): |Service message|
... just made one
... now you are admin
... Thanks..
...
... do you know how to use Inkscape?
  
Writing to ./conversations/osmindia.json...
ERROR: list index out of range
Exiting...

errors out after the 5th or so message. Increasing max_err in config.py isn't helping.

This is happening even when supplying start and end numbers in cases where there was something amiss in between.

This is an awesome project - kudos to the author. We really need to ensure the conversations happening today make their way to the open internet where someone a decade later who doesn't know anyone is able to find relevant material amongst these chats.

Output JSON is empty.

When I run this:

python .\tgscrape.py "fun_with_friends"

this is what I get:

> Telegram Public Groups Scraper

[deleted]
[deleted]
[deleted]
[deleted]
[deleted]
[deleted]
[deleted]
[deleted]
[deleted]
[deleted]
[deleted]
[deleted]
[deleted]
[deleted]
[deleted]
[deleted]
[deleted]
[deleted]
[deleted]

Writing to ./conversations/fun_with_friends.json...
ERROR: 0
Exiting...

Is something outdated or so?

Errors

I am getting 500 errors every now and then

and also this after restart:

ERROR: time data '' does not match format '%Y-%m-%d'

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.