Initialise to None
This commit is contained in:
parent
0846626460
commit
b8a6a431bf
12
scrape.py
12
scrape.py
@ -40,12 +40,12 @@ print('WebDriver initialised')
|
||||
# User class, holds all the data we will be collecting from user pages
|
||||
# It's being used here as a more structured alternative to a dictionary
|
||||
class User:
|
||||
url_username = ''
|
||||
username = ''
|
||||
track_count = ''
|
||||
like_count = ''
|
||||
following_count = ''
|
||||
follower_count = ''
|
||||
url_username = None
|
||||
username = None
|
||||
track_count = None
|
||||
like_count = None
|
||||
following_count = None
|
||||
follower_count = None
|
||||
|
||||
user_dict = {}
|
||||
users_to_process = ['thomotron', 'lacheque', 'slynk', 'bossfightswe']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user