Move the comment concerning not using deprecated Selenium feature to #1
This commit is contained in:
		@@ -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')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
"""
 | 
					"""
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user