From 176b057edb9252e6d3a8d1e6786ce822973de8a8 Mon Sep 17 00:00:00 2001 From: Benjamin Loison Date: Sat, 4 Feb 2023 14:21:54 +0100 Subject: [PATCH] Move the comment concerning not using deprecated Selenium feature to #1 --- media_files_extractor.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/media_files_extractor.py b/media_files_extractor.py index 2d1ea39..9d73a33 100644 --- a/media_files_extractor.py +++ b/media_files_extractor.py @@ -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' 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') """