# Fake headers to pretend this is a real browser
-_user_agent = "Mozilla/5.0 (X11; U; Linux 2.6 i686; en)"
-" Gecko/20001221 Firefox/2.0.0"
-_x_user_agent = "bookmarks_db (Python %d.%d.%d)" % sys.version_info[:3]
+_user_agent = 'Mozilla/5.0 (X11; Linux x86_64; rv:120.0) ' \
+ 'Gecko/20100101 Firefox/120.0'
+_x_user_agent = 'bookmarks_db (Python %d.%d.%d)' % sys.version_info[:3]
request_headers = {
- 'Accept': '*/*',
- 'Accept-Language': 'ru,en',
+ 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,'
+ 'image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8',
+ 'Accept-Language': 'ru,en-US;q=0.7,en;q=0.3',
'Cache-Control': 'max-age=300',
'Connection': 'close',
'Referer': '/',