diff --git a/bandcavall/main.py b/bandcavall/main.py index ad7acd3..696370c 100644 --- a/bandcavall/main.py +++ b/bandcavall/main.py @@ -63,7 +63,9 @@ def main(): prefs = { 'dom.audiochannel.mutedByDefault': True } - with Browser(args.driver, profile_preferences=prefs) as br: + browser_settings = dict(profile_preferences=prefs) \ + if args.driver == 'firefox' else {} + with Browser(args.driver, **browser_settings) as br: # get track info if args.mode == 'track': tracks = [visit_track(br, args.url)]