Remove import and add more commentaries

This commit is contained in:
Andros Fenollosa
2024-02-09 08:39:07 +01:00
parent 377c6ebc81
commit b337375e38
3 changed files with 23 additions and 1 deletions

View File

@ -3,6 +3,7 @@ from bs4 import BeautifulSoup
from typing import Union
class DuckDuckGoGateway:
"""Gateway to DuckDuckGo search engine"""
url = "https://duckduckgo.com/html/"
headers = {
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:84.0) Gecko/20100101 Firefox/84.0",