forked from SlavikMIPT/opentfd
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor * built in proxy via PySocks * opentfd release * Update README.md * Desktop translation issue resolved Added merge_semaphore * README.md * switched to system time instead event.date ignoring of messages in bot's chats refactor removed dot markers in start of appended messages
- Loading branch information
1 parent
7f27ea7
commit 1357b9b
Showing
4 changed files
with
54 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: UTF-8 -*- | ||
import socks | ||
mediatube_proxy = (socks.SOCKS5, 'api.tg.mediatube.xyz', 433, True, 'socksuser', '8X5tjtV5ISNv2') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: UTF-8 -*- | ||
supported_langs = {'Afrikaans': 'af', 'Irish': 'ga', 'Albanian': 'sq', | ||
'Italian': 'it', 'Arabic': 'ar', 'Japanese': 'ja', | ||
'Azerbaijani': 'az', 'Kannada': 'kn', 'Basque': 'eu', | ||
'Korean': 'ko', 'Bengali': 'bn', 'Latin': 'la', | ||
'Belarusian': 'be', 'Latvian': 'lv', 'Bulgarian': 'bg', | ||
'Lithuanian': 'lt', 'Catalan': 'ca', 'Macedonian': 'mk', | ||
'Chinese Simplified': 'zh-CN', 'Malay': 'ms', | ||
'Chinese Traditional': 'zh-TW', 'Maltese': 'mt', | ||
'Croatian': 'hr', 'Norwegian': 'no', 'Czech': 'cs', | ||
'Persian': 'fa', 'Danish': 'da', 'Polish': 'pl', | ||
'Dutch': 'nl', 'Portuguese': 'pt', 'English': 'en', | ||
'Romanian': 'ro', 'Esperanto': 'eo', 'Russian': 'ru', | ||
'Estonian': 'et', 'Serbian': 'sr', 'Filipino': 'tl', | ||
'Slovak': 'sk', 'Finnish': 'fi', 'Slovenian': 'sl', | ||
'French': 'fr', 'Spanish': 'es', 'Galician': 'gl', | ||
'Swahili': 'sw', 'Georgian': 'ka', 'Swedish': 'sv', | ||
'German': 'de', 'Tamil': 'ta', 'Greek': 'el', | ||
'Telugu': 'te', 'Gujarati': 'gu', 'Thai': 'th', | ||
'Haitian Creole': 'ht', 'Turkish': 'tr', 'Hebrew': 'iw', | ||
'Ukrainian': 'uk', 'Hindi': 'hi', 'Urdu': 'ur', | ||
'Hungarian': 'hu', 'Vietnamese': 'vi', 'Icelandic': 'is', | ||
'Welsh': 'cy', 'Indonesian': 'id', 'Yiddish': 'yi'} |