logr4y / tgscrape Goto Github PK
View Code? Open in Web Editor NEWQuick and dirty public Telegram group message scraper
License: MIT License
Quick and dirty public Telegram group message scraper
License: MIT License
Hello,
Is it possible to export the results of tgscape_cli.py into a csv file?
Thanks!
Rich
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.
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?
I am getting 500 errors every now and then
and also this after restart:
ERROR: time data '' does not match format '%Y-%m-%d'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.