MCPcopy Create free account

hub / github.com/Darksight-Analytics/tgspyder / functions

Functions18 in github.com/Darksight-Analytics/tgspyder

↓ 4 callersFunctionload_config
Load API credentials, login mode, and proxy from config file, if it exists.
src/tgspyder/cli.py:146
↓ 3 callersFunction_out_dir
Creates output folders relative to where the user runs the command. TGSpyder Output/ members/ chats/ crawled_links/
src/tgspyder/cli.py:126
↓ 3 callersFunction_stamp
()
src/tgspyder/cli.py:116
↓ 2 callersFunction_progress
()
src/tgspyder/cli.py:301
↓ 2 callersFunction_safe_name
(s: str)
src/tgspyder/cli.py:120
↓ 2 callersFunctionensure_pysocks
Telethon needs PySocks (module name: 'socks') when using SOCKS proxies. Prevents 'No module named socks' crashes and gives a clear message.
src/tgspyder/cli.py:94
↓ 2 callersFunctionparse_proxy
Parse the proxy configuration string into Telethon proxy format.
src/tgspyder/cli.py:190
↓ 2 callersFunctionsave_config
Save API credentials, login info, and proxy to config file.
src/tgspyder/cli.py:164
↓ 2 callersFunctionupdate_proxy_in_config
Update only the proxy value in the existing config (keeps creds).
src/tgspyder/cli.py:180
↓ 1 callersFunctionensure_event_loop
Ensure there is an asyncio event loop for Telethon to use. Required on Python 3.12+, where get_event_loop() no longer creates one.
src/tgspyder/cli.py:82
↓ 1 callersFunctionensure_rich
()
src/tgspyder/cli.py:22
↓ 1 callersFunctionextract_sticker_short_name
(value: str)
src/tgspyder/cli.py:235
↓ 1 callersFunctionlookup_user
(client, identifier: str)
src/tgspyder/cli.py:459
↓ 1 callersFunctionmain
()
src/tgspyder/cli.py:489
↓ 1 callersFunctionscrape_members
(client, entity, output_name)
src/tgspyder/cli.py:315
↓ 1 callersFunctionscrape_messages_and_invites
(client, entity, output_name, save_chats=False, save_invites=False)
src/tgspyder/cli.py:353
↓ 1 callersFunctionshow_banner
()
src/tgspyder/cli.py:77
↓ 1 callersFunctionsticker_pack_creator
(client, pack_input)
src/tgspyder/cli.py:251