produces the correct html code and summary. Next objective is to be able to push it to wordpress directly from this gradio UI.

This commit is contained in:
shahab00x 2024-02-20 00:13:22 +03:30
parent c0c4f20762
commit ac967cc76a

View File

@ -21,6 +21,8 @@ class AmazonScraper:
'https': f'socks5h://{PROXY_HOST}:{PROXY_PORT}'
}
self.proxy_dict = {}
HEADERS = {
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36',
'Accept-Language': 'en-US, en;q=0.5'