fix: detect payment form and wait or user input (#520)

Co-authored-by: Jens Bergmann <1742418+1cu@users.noreply.github.com>
This commit is contained in:
Heavenfighter
2025-06-10 15:51:59 +02:00
committed by GitHub
parent a5603e742f
commit 4d48427234
4 changed files with 91 additions and 37 deletions

View File

@@ -112,6 +112,7 @@ class AdExtractor(WebScrapingMixin):
:param url: the URL to the ad page
:return: the ad ID, a (ten-digit) integer number
"""
num_part = url.rsplit("/", maxsplit = 1)[-1] # suffix
id_part = num_part.split("-", maxsplit = 1)[0]