Use httpd's mime.types file
From <https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types>
This commit is contained in:
parent
fb1b228d5b
commit
0c8e4d7466
File diff suppressed because it is too large
Load Diff
|
@ -19,6 +19,7 @@ from bs4 import BeautifulSoup
|
||||||
from telethon import TelegramClient, events
|
from telethon import TelegramClient, events
|
||||||
from telethon.utils import chunks, is_list_like
|
from telethon.utils import chunks, is_list_like
|
||||||
|
|
||||||
|
mimetypes.init(['mime.types'])
|
||||||
with open('config.yaml') as file:
|
with open('config.yaml') as file:
|
||||||
config_data = yaml.safe_load(file)
|
config_data = yaml.safe_load(file)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue