BBC formatter exception, list indices must be integers or slices, not str
BBC formatter exception, list indices must be integers or slices, not str
BBC formatter exception, list indices must be integers or slices, not str
BBC formatter exception, list indices must be integers or slices, not str
BBC formatter exception, list indices must be integers or slices, not str
Failed to format articles, 'NoneType' object has no attribute 'get'
0 Articles were fetched for News
Articles were not saved
this error comes when we change the value of page=1 to 2 in bbc.py program
Please solve the issue
i have inputed the same issue in your youtube channel no response yet
DevTools listening on ws://127.0.0.1:51663/devtools/browser/c7780542-a226-4e64-8bdc-8adc8b66ed9a
[8876:16856:0121/065126.998:ERROR:device_event_log_impl.cc(215)] [06:51:26.997] Bluetooth: bluetooth_adapter_winrt.cc:1074 Getting Default Adapter failed.
Traceback (most recent call last):
File "C:\Users\jramo\OneDrive\Desktop\Convert-BBC-Articles-Into-Rumble-Videos-main\rumble.py", line 50, in
login_button = browser.find_element(By.XPATH, '/html/body/header/div/button[3]').click()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jramo\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 861, in find_element
return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jramo\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 444, in execute
self.error_handler.check_response(response)
File "C:\Users\jramo\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 249, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/header/div/button[3]"}
(Session info: chrome=109.0.5414.75)
Stacktrace:
Backtrace:
(No symbol) [0x01156643]
(No symbol) [0x010EBE21]
(No symbol) [0x00FEDA9D]
(No symbol) [0x01021342]
(No symbol) [0x0102147B]
(No symbol) [0x01058DC2]
(No symbol) [0x0103FDC4]
(No symbol) [0x01056B09]
(No symbol) [0x0103FB76]
(No symbol) [0x010149C1]
(No symbol) [0x01015E5D]
GetHandleVerifier [0x013CA142+2497106]
GetHandleVerifier [0x013F85D3+2686691]
GetHandleVerifier [0x013FBB9C+2700460]
GetHandleVerifier [0x01203B10+635936]
(No symbol) [0x010F4A1F]
(No symbol) [0x010FA418]
(No symbol) [0x010FA505]
(No symbol) [0x0110508B]
BaseThreadInitThunk [0x760900F9+25]
RtlGetAppContainerNamedObjectPath [0x77C87BBE+286]
RtlGetAppContainerNamedObjectPath [0x77C87B8E+238]