Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Added Captcha from DreckSoft plus changes in delivery options #36

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

Airwave1981
Copy link
Contributor

Thanks to DreckSoft, Added changes for captchas.

Plus correcting some delivery options.

@DreckSoft
Copy link

Not sure if it's your pull request or if ebay kleinanzeigen changed something again but neither the date_updated nor the id gets updated in the JSON. At least date_updated should not depend on the webpage.

try:
price = driver.find_element_by_xpath("//select[@name='priceType']/option[@value='%s']" % ad["price_type"])
except NoSuchElementException:
raise Exception('Cannot find price type selection!')
price.click()
Copy link
Contributor

@sebthom sebthom Nov 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either the indention of the new try/catch block is wrong or the indention of price.click().

Your change will result in a NameError: name 'price' is not defined in case price_type == 'GIVE_AWAY'

@Airwave1981
Copy link
Contributor Author

Updated with issue #35 + #37

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

Successfully merging this pull request may close these issues.

3 participants