We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93ad156 commit e9d87f1Copy full SHA for e9d87f1
raspamb.py
@@ -1,11 +1,24 @@
1
-from bs4 import BeautifulSoup
+try:
2
+ from bs4 import BeautifulSoup
3
+except:
4
+ try:
5
+ os.system("pip install bs4")
6
+ except:
7
+ os.system("sudo pip install bs4")
8
+
9
10
+ from selenium import webdriver
11
12
13
+ os.system("pip install selenium")
14
15
+ os.system("sudo pip install selenium")
16
17
from urllib.request import urlopen
-from selenium import webdriver
18
from selenium.common.exceptions import WebDriverException
19
+import requests
20
import os
21
import re
-import requests
-import os
22
23
24
def drive_download():
@@ -298,3 +311,4 @@ def retornar_busca():
298
311
driver.get('https://{}{}'.format(picotado[2], zip))
299
312
300
313
retornar_busca()
314
0 commit comments