Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ import os
|
|
42 |
import subprocess
|
43 |
|
44 |
|
45 |
-
# Make sure the chromedriver is executable
|
46 |
os.chmod('chromedriver', 0o755)
|
47 |
# Set up Chrome options
|
48 |
options = webdriver.ChromeOptions()
|
@@ -58,7 +58,7 @@ print("'''''",driver.capabilities['browserVersion'],"''''")
|
|
58 |
driver.quit()
|
59 |
# Initialize the ChromeDriver
|
60 |
service = Service('chromedriver')
|
61 |
-
driver = webdriver.Chrome(service=service, options=options)
|
62 |
|
63 |
from wuzzuf_scraper import Wuzzuf_scrapping
|
64 |
from linkedin_scraper import LINKEDIN_Scrapping
|
@@ -135,6 +135,10 @@ if st.sidebar.button('Start Scrapping'):
|
|
135 |
wuzzuf_exp(n1)
|
136 |
|
137 |
|
|
|
|
|
|
|
|
|
138 |
if site =="Linkedin":
|
139 |
with st.container():
|
140 |
st.write("---")
|
@@ -153,4 +157,4 @@ if st.sidebar.button('Start Scrapping'):
|
|
153 |
with tab2:
|
154 |
map_bubble(n1)
|
155 |
with tab3:
|
156 |
-
linkedin_exp(n1) # WILL CHANGE
|
|
|
42 |
import subprocess
|
43 |
|
44 |
|
45 |
+
'''# Make sure the chromedriver is executable
|
46 |
os.chmod('chromedriver', 0o755)
|
47 |
# Set up Chrome options
|
48 |
options = webdriver.ChromeOptions()
|
|
|
58 |
driver.quit()
|
59 |
# Initialize the ChromeDriver
|
60 |
service = Service('chromedriver')
|
61 |
+
driver = webdriver.Chrome(service=service, options=options)'''
|
62 |
|
63 |
from wuzzuf_scraper import Wuzzuf_scrapping
|
64 |
from linkedin_scraper import LINKEDIN_Scrapping
|
|
|
135 |
wuzzuf_exp(n1)
|
136 |
|
137 |
|
138 |
+
if site =="Linkedin":
|
139 |
+
with st.container():
|
140 |
+
st.write("---")
|
141 |
+
'''
|
142 |
if site =="Linkedin":
|
143 |
with st.container():
|
144 |
st.write("---")
|
|
|
157 |
with tab2:
|
158 |
map_bubble(n1)
|
159 |
with tab3:
|
160 |
+
linkedin_exp(n1) # WILL CHANGE'''
|