I am trying to fetch images from this website but it is returned like this
the website is powered by wp-rocket if that would help
from bs4 import BeautifulSoup
import requests
headers = {
'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8',
'accept-encoding': 'gzip, deflate, br',
'accept-language': 'en-US,en;q=0.9',
'if-modified-since': 'Tue, 06 Sep 2022 17:26:50 GMT',
'referer': 'https://swatmanga.me/1369130/my-school-life-pretending-to-be-a-worthless-person-04/',
'sec-fetch-dest': 'document',
'sec-fetch-mode': 'navigate',
'sec-fetch-site': 'same-origin',
'sec-fetch-user': '?1',
'sec-gpc': '1',
'upgrade-insecure-requests': '1',
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36'
}
link = 'https://swatmanga.me/1369130/my-school-life-pretending-to-be-a-worthless-person-04/'
video = requests.get(link, headers=headers, timeout=3)
print(video.text)