Ошибки при выполнении

Здравствуйте.
Искал нужный мне код. И, естественно, всё написано на питоне.
Нашёл два проекта. Первый совсем простой и выдаёт такую ошибку:


PS H:\Projects\python\TikTok_without_watermark> python .\downloader.py
Paste TikTok video url: https://www.tiktok.com/@l1zzka/video/6928778090076179713?is_copy_url=1&is_from_webapp=v1
Getting direct url with watermark...
Traceback (most recent call last):
  File "H:\Projects\python\TikTok_without_watermark\downloader.py", line 76, in <module>
    main(input_url)
  File "H:\Projects\python\TikTok_without_watermark\downloader.py", line 15, in main
    watermark_url = get_video_url(link)
  File "H:\Projects\python\TikTok_without_watermark\downloader.py", line 30, in get_video_url
    get_request = requests.get(link, headers=TIKTOK_HEADERS)
  File "C:\Users\RAIN\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Users\RAIN\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Users\RAIN\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 528, in request
    print(req.url+req.data)
TypeError: can only concatenate str (not "dict") to str

Второй посложнее и выдаёт такое:

====== WebDriver manager ======
Current firefox version is 97.0
Get LATEST geckodriver version for 97.0 firefox
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\RAIN\AppData\Local\Programs\Python\Python39\lib\tkinter\__init__.py", line 1885, in __call__
    return self.func(*args)
  File "H:\Projects\python\Tiktok-no-watermark\tiktok_no_water_mark.py", line 53, in launch_download
    api = SeleniumUtils(update_info, **kwargs)
  File "H:\Projects\python\Tiktok-no-watermark\selenuim_utils.py", line 33, in __init__
    kwargs['executable_path'] = GeckoDriverManager().install()
  File "C:\Users\RAIN\AppData\Local\Programs\Python\Python39\lib\site-packages\webdriver_manager\firefox.py", line 30, in install
    driver_path = self._get_driver_path(self.driver)
  File "C:\Users\RAIN\AppData\Local\Programs\Python\Python39\lib\site-packages\webdriver_manager\manager.py", line 23, in _get_driver_path
    driver_version = driver.get_version()
  File "C:\Users\RAIN\AppData\Local\Programs\Python\Python39\lib\site-packages\webdriver_manager\driver.py", line 40, in get_version
    return self.get_latest_release_version()
  File "C:\Users\RAIN\AppData\Local\Programs\Python\Python39\lib\site-packages\webdriver_manager\driver.py", line 110, in get_latest_release_version
    resp = requests.get(
  File "C:\Users\RAIN\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Users\RAIN\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Users\RAIN\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 528, in request
    print(req.url+req.data)
TypeError: can only concatenate str (not "dict") to str

Ошибка, вроде, одна и та же. Кажется, ему модуль sessions не нравится :thinking:
Как исправить?

Задача решена другим способом. Но вопрос остаётся открытым.