Closed uzaysan closed 3 years ago
I have no idea what the apt_pkg error is; that sounds like an issue with your Python installation (e.g. this). The bs4 error indicates that you don't have lxml installed, which snscrape explicitly lists as a dependency. If it worked in the past, my guess is that you recently upgraded Python. Run another pip install
for snscrape, and it should reinstall the dependencies as needed.
Im trying to scrape telegram posts in a channel.
here is the command I use:
snscrape --jsonl --progress --max-results 50 telegram-channel "https://t.me/channelName" > t.json
But this gives error. How to solve this?
Here is the error log.