Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a method that can find channels (either by query or external sources) #3

Open
pushshift opened this issue Aug 14, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@pushshift
Copy link
Owner

For the channels.py script, add method(s) that will enable discovery of new channels. Ideally, we would have the capability of discovering all publicly available channels. Also, being able to discover new channels as they are added to Telegram would be extremely beneficial.

@pushshift pushshift added the enhancement New feature or request label Aug 14, 2019
@zsavvas
Copy link
Collaborator

zsavvas commented Aug 14, 2019

Added support to search for channels using external sources (Telegago and Lyzem search engines) in commits 17cf6c2 and a4f1a69.
See methods search_channels_lyzem and search_channels_telegago in channels.py
Things to keep in mind: Telegago has more results as it is a google search engine for Telegram. However, it is slower as we need to render Javascript and because each page has a limited number of results we need to fetch more pages. On the other hand, Lyzem has fewer results but it is faster (no need to render Javascript) and we can fetch up to 100 results per request (i believe that most of the queries will have less than 100 results)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants