Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working \ maybe bcaz of tweet new rules, error is down #3

Open
Prakashmaheshwaran opened this issue Jun 17, 2024 · 0 comments
Open

Comments

@Prakashmaheshwaran
Copy link

PS C:\Users\prakash\Desktop\my-browserless> tweetshot https://twitter.com/hideo_kojima_en/status/1002107372091817984
Using automatic driver manager
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\prakash\miniconda3\Scripts\tweetshot.exe_main
.py", line 7, in
File "C:\Users\prakash\miniconda3\Lib\site-packages\tweetshot\cli_scripts.py", line 35, in main
take_screenshot(args.url, args.driver_type, args.custom_driver, args.timeout, args.filename)
File "C:\Users\prakash\miniconda3\Lib\site-packages\tweetshot\take_screenshot.py", line 208, in take_screenshot
return Tweetshot(url, type_driver, executable_path, timeout).save_tweet_screenshot(output_filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\prakash\miniconda3\Lib\site-packages\tweetshot\take_screenshot.py", line 187, in save_tweet_screenshot
tweetshot = self.get_tweetshot_as_pil()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\prakash\miniconda3\Lib\site-packages\tweetshot\take_screenshot.py", line 56, in get_tweetshot_as_pil
return self.get_tweetshot()
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\prakash\miniconda3\Lib\site-packages\tweetshot\take_screenshot.py", line 39, in get_tweetshot
self.set_up()
File "C:\Users\prakash\miniconda3\Lib\site-packages\tweetshot\take_screenshot.py", line 81, in set_up
self.driver = get_driver(type=self.type_driver, executable_path=self.executable_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\prakash\miniconda3\Lib\site-packages\tweetshot\webdrivers\set_webdriver.py", line 28, in get_driver
driver = get_chrome_driver(options_list=OPTIONS_LIST, executable_path=executable_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\prakash\miniconda3\Lib\site-packages\tweetshot\webdrivers\chrome.py", line 30, in get_chrome_driver
return get_driver(webdriver.Chrome, driver_manager, options_list, executable_path, Options())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\prakash\miniconda3\Lib\site-packages\tweetshot\webdrivers\driver.py", line 29, in get_driver
return webdriver(executable_path=driver_manager(log_level=0).install(), options=options,
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: ChromeDriverManager.init() got an unexpected keyword argument 'log_level'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant