ahmed-zekri / Tiktok-no-watermark

A python script that gives access to download a tiktok video without any watermark
46 stars 14 forks source link

TypeError: __init__() got an unexpected keyword argument 'firefox_options' #5

Open StathisKap opened 1 year ago

StathisKap commented 1 year ago
[WDM] - Downloading: 19.0kB [00:00, 14.9MB/s]
Traceback (most recent call last):
  File "/Users/stathis/Code/TikTok_Downloader/Tiktok-no-watermark/tiktok_no_water_mark.py", line 81, in <module>
    launch_download()
  File "/Users/stathis/Code/TikTok_Downloader/Tiktok-no-watermark/tiktok_no_water_mark.py", line 50, in launch_download
    api = SeleniumUtils(update_info, **kwargs)
  File "/Users/stathis/Code/TikTok_Downloader/Tiktok-no-watermark/selenuim_utils.py", line 34, in __init__
    self.browser = webdriver.Firefox(**kwargs)
  File "/Users/stathis/.miniforge/lib/python3.9/site-packages/seleniumwire/webdriver.py", line 179, in __init__
    super().__init__(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'firefox_options'
voxqhuy commented 1 year ago

The browser option parameter firefox_options was deprecated in Selenium 3.8.0 I changed to use options parameter but still couldn't get it to work due to proxy failures.

glebmiller commented 1 year ago

is there a way to fix this?