AlexandreSenpai / Enma

Enma is a Python library designed to fetch and download manga and doujinshi data from many sources including Manganato and NHentai.
MIT License
80 stars 16 forks source link

use google translate to bypass https://cloudflare.com/ #42

Closed thedtvn closed 1 year ago

thedtvn commented 1 year ago
import requests

r = requests.get("https://translate.google.com/translate?sl=vi&tl=en&hl=vi&u={url}&client=webapp")
print(r.status_code)
print(r.content)