Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Commit 805928c

Browse files
committed
Update Web Crawling Pipeline
1 parent 2761444 commit 805928c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/settings.py

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
SECRET_KEY = env('SECRET_KEY')
4040

4141
SELENIUM_HEADLESS = env('SELENIUM_HEADLESS', False)
42+
if SELENIUM_HEADLESS == 'True':
43+
SELENIUM_HEADLESS = True
44+
else:
45+
SELENIUM_HEADLESS = False
4246

4347
# SECURITY WARNING: don't run with debug turned on in production!
4448
DEBUG = env('DEBUG')

0 commit comments

Comments
 (0)