mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-25 07:35:55 -07:00
fix firefox path on windows to allow profiles to be specified by name
This commit is contained in:
parent
3096927ce0
commit
2ccfd900f1
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ def _firefox_browser_dir():
|
|||
if sys.platform in ('linux', 'linux2'):
|
||||
return os.path.expanduser('~/.mozilla/firefox')
|
||||
elif sys.platform == 'win32':
|
||||
return os.path.expandvars(r'%APPDATA%\Mozilla\Firefox')
|
||||
return os.path.expandvars(r'%APPDATA%\Mozilla\Firefox\Profiles')
|
||||
elif sys.platform == 'darwin':
|
||||
return os.path.expanduser('~/Library/Application Support/Firefox')
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue