Use user object where possible
This commit is contained in:
parent
9b9345887b
commit
51624e9715
@ -60,7 +60,7 @@ for user_str in users_to_process:
|
|||||||
user.url_username = user_str
|
user.url_username = user_str
|
||||||
|
|
||||||
# Get the user's profile page and soup it
|
# Get the user's profile page and soup it
|
||||||
driver.get('https://soundcloud.com/' + user_str)
|
driver.get('https://soundcloud.com/' + user.url_username)
|
||||||
soup = BeautifulSoup(driver.page_source, 'lxml')
|
soup = BeautifulSoup(driver.page_source, 'lxml')
|
||||||
|
|
||||||
# Grab their username
|
# Grab their username
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user