This file contains hidden or 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 | |
import asyncio | |
import base64 | |
import time | |
from io import BytesIO | |
from PIL import Image | |
from bs4 import BeautifulSoup | |
from weasyprint import HTML | |
html_with_images = """ |