Skip to content

Adding Stockport to new_branch#17

Merged
robbrad merged 1 commit into
robbrad:masterfrom
supajason:new_branch
Nov 10, 2020
Merged

Adding Stockport to new_branch#17
robbrad merged 1 commit into
robbrad:masterfrom
supajason:new_branch

Conversation

@supajason
Copy link
Copy Markdown
Contributor

No description provided.

@robbrad robbrad merged commit ba10195 into robbrad:master Nov 10, 2020
@supajason supajason deleted the new_branch branch December 7, 2020 14:02
@Biliskn3r Biliskn3r mentioned this pull request Nov 18, 2024
4 tasks
@idarkside idarkside mentioned this pull request Dec 2, 2024
4 tasks
@kieranlittle667 kieranlittle667 mentioned this pull request Dec 16, 2024
4 tasks
@leighjones123 leighjones123 mentioned this pull request Feb 2, 2025
4 tasks
@tonyp1983 tonyp1983 mentioned this pull request Jan 8, 2026
4 tasks
@chinedu40 chinedu40 mentioned this pull request Jan 23, 2026
4 tasks
@brandnewant brandnewant mentioned this pull request Feb 14, 2026
4 tasks
pull Bot pushed a commit to mrw298/UKBinCollectionData that referenced this pull request May 1, 2026
…x date parsing, improve address matching

time.sleep(5) after clicking Find Address held Chrome idle at peak memory
while the parallel Grid+local Chrome paths overlapped — causing the
robbrad#17 __clone OOM crash in the Selenium Grid container. The dropdown
populates in ~0.4s in practice, so the 5s sleep was pure idle contention.

Changes:
- Replace sleep(5) with WebDriverWait polling for a populated <select>
  (>1 option), cutting ~4.5s off each run and eliminating the overlap
  window that triggered the Grid crash
- Add a second wait for at least one .card h3 after selecting the address,
  since JS builds collection cards asynchronously after the select change
- Fix date parsing: use _DATE_RE regex to extract every well-formed date
  from each <p> — a single tag can contain multiple comma-separated dates
  in the 'Following Collections:' case; old split(':') approach raised
  'unconverted data remains' errors in those cases
- Improve address matching priority: exact prefix > comma-bounded >
  A-suffix > substring, so '91 THE COMMON' beats 'ANNEXE 91 THE COMMON'
  when searching for house number 91
- Remove unused import time
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

Successfully merging this pull request may close these issues.

2 participants