mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-03-11 08:54:34 +00:00
- Removed hardcoded User Agent strings and replaced them with a fallback mechanism using DEFAULT_FALLBACK_UA. - Updated gen_user_agent function to ensure compatibility with older configurations. - Bumped version to 1.1.1 to reflect changes in User Agent management.
8 lines
158 B
Python
8 lines
158 B
Python
import os
|
|
|
|
optional_dev_tag = ''
|
|
if os.getenv('DEV_BUILD'):
|
|
optional_dev_tag = '.dev' + os.getenv('DEV_BUILD')
|
|
|
|
__version__ = '1.1.1' + optional_dev_tag
|
|
|