File tree Expand file tree Collapse file tree 3 files changed +30
-2
lines changed Expand file tree Collapse file tree 3 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
class SeleniumWireModule :
8
8
def __init__ (self ):
9
- gui_enhancements .run ()
9
+ gui_enhancements .run_sel ()
10
10
logg = turquoise_logger .Logger ()
11
11
path_firefox_binary = 'tools/geckodriver.exe'
12
12
path_geckodriver_log = path .abspath ('resources/geckodriver.log' )
Original file line number Diff line number Diff line change 1
1
2
- def run ():
2
+ def run_sel ():
3
3
print (r'''
4
4
_____ _ _ _ _ _
5
5
/ ___| | | (_) | | | (_)
@@ -9,6 +9,32 @@ def run():
9
9
\____/ \___|_|\___|_| |_|_|\__,_|_| |_| |_|\/ \/|_|_| \___|
10
10
''' )
11
11
12
+ attribution ()
13
+
14
+ def run_useragent ():
15
+ print (r'''
16
+ _ _ ___ _
17
+ | | | | / _ \ | |
18
+ | | | |___ ___ _ __/ /_\ \ __ _ ___ _ __ | |_
19
+ | | | / __|/ _ \ '__| _ |/ _` |/ _ \ '_ \| __|
20
+ | |_| \__ \ __/ | | | | | (_| | __/ | | | |_
21
+ \___/|___/\___|_| \_| |_/\__, |\___|_| |_|\__|
22
+ __/ |
23
+ |___/
24
+ _____
25
+ / ___|
26
+ \ `--. ___ _ _ _ __ ___ ___ _ __
27
+ `--. \/ _ \| | | | '__/ __/ _ \ '__|
28
+ /\__/ / (_) | |_| | | | (_| __/ |
29
+ \____/ \___/ \__,_|_| \___\___|_|
30
+
31
+
32
+
33
+ ''' )
34
+
35
+ attribution ()
36
+
37
+ def attribution ():
12
38
print ('''\U0001F310 Developed by Gerard Sala @ https://www.github.com/scripting-drafts
13
39
14
40
''' )
Original file line number Diff line number Diff line change 5
5
from selenium .webdriver .firefox .options import Options
6
6
from selenium .webdriver .firefox .service import Service
7
7
from selenium .webdriver .common .by import By
8
+ import mod_initializer as gui_enhancements
8
9
10
+ gui_enhancements .run_useragent ()
9
11
input_file = '../resources/useragents.txt'
10
12
userAgents = open (input_file , 'w' )
11
13
You can’t perform that action at this time.
0 commit comments