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
|
# 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
|
# It's being used here as a more structured alternative to a dictionary
|
||||||
class User:
|
class User:
|
||||||
url_username = ''
|
url_username = None
|
||||||
username = ''
|
username = None
|
||||||
track_count = ''
|
track_count = None
|
||||||
like_count = ''
|
like_count = None
|
||||||
following_count = ''
|
following_count = None
|
||||||
follower_count = ''
|
follower_count = None
|
||||||
|
|
||||||
user_dict = {}
|
user_dict = {}
|
||||||
users_to_process = ['thomotron', 'lacheque', 'slynk', 'bossfightswe']
|
users_to_process = ['thomotron', 'lacheque', 'slynk', 'bossfightswe']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user