Move the comment concerning not using deprecated Selenium feature to #1

This commit is contained in:
Benjamin Loison 2023-02-04 14:21:54 +01:00
parent c73b0e0f5d
commit 176b057edb
Signed by: Benjamin_Loison
SSH Key Fingerprint: SHA256:BtnEgYTlHdOg1u+RmYcDE0mnfz1rhv5dSbQ2gyxW8B8

View File

@ -10,11 +10,8 @@ As there is something looking as an anti-bot for downloading media files, we use
profile_path = '/home/benjamin/.mozilla/firefox/ilfnifi0.default-release' profile_path = '/home/benjamin/.mozilla/firefox/ilfnifi0.default-release'
fp = webdriver.FirefoxProfile(profile_path) fp = webdriver.FirefoxProfile(profile_path)
# I wasn't easily able to use not deprecated code, my try consists in the commented code.
#options = Options()
#options.set_preference('profile', profile_path)
browser = webdriver.Firefox(fp)#options = options) browser = webdriver.Firefox(fp)
browser.get('https://studio.youtube.com/channel/UC/music') browser.get('https://studio.youtube.com/channel/UC/music')
""" """