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
import aiohttp | |
from aiohttp import web | |
import re | |
from urllib.parse import urljoin | |
from html import unescape | |
from lxml import etree | |
from lxml.html import tostring as etree_tostring | |
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
import asyncio | |
import io | |
import imghdr | |
from PIL import Image | |
from aiohttp import ClientSession | |
import motor.motor_asyncio | |
client = motor.motor_asyncio.AsyncIOMotorClient() |