You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am using window for this project
Then I run python runbot.py
But getting this error:
Traceback (most recent call last):
File "d:\visual code\danang aihub\booking.com_crawler\runbot.py", line 35, in
bot.change_currency(currency="USD")
File "d:\visual code\danang aihub\booking.com_crawler\booking\booking.py", line 79, in change_currency
currency_element = self.find_element_by_css_selector(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Booking' object has no attribute 'find_element_by_css_selector'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\visual code\danang aihub\booking.com_crawler\runbot.py", line 13, in
with Booking() as bot:
TypeError: Booking.exit() takes 1 positional argument but 4 were given
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\visual code\danang aihub\booking.com_crawler\runbot.py", line 55, in
raise SyntaxError
SyntaxError: None
Am I wrong somewhere, please help.
The text was updated successfully, but these errors were encountered:
Hi,
I am using window for this project
Then I run python runbot.py
But getting this error:
Traceback (most recent call last):
File "d:\visual code\danang aihub\booking.com_crawler\runbot.py", line 35, in
bot.change_currency(currency="USD")
File "d:\visual code\danang aihub\booking.com_crawler\booking\booking.py", line 79, in change_currency
currency_element = self.find_element_by_css_selector(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Booking' object has no attribute 'find_element_by_css_selector'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\visual code\danang aihub\booking.com_crawler\runbot.py", line 13, in
with Booking() as bot:
TypeError: Booking.exit() takes 1 positional argument but 4 were given
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\visual code\danang aihub\booking.com_crawler\runbot.py", line 55, in
raise SyntaxError
SyntaxError: None
Am I wrong somewhere, please help.
The text was updated successfully, but these errors were encountered: