uk_bin_collection 0.143.5__py3-none-any.whl → 0.143.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1579,14 +1579,14 @@
1579
1579
  "wiki_note": "To get the UPRN, you can use [FindMyAddress](https://www.findmyaddress.co.uk/search). This parser requires a Selenium webdriver."
1580
1580
  },
1581
1581
  "RenfrewshireCouncil": {
1582
- "house_number": "1",
1583
- "paon": "1",
1584
- "postcode": "PA29ED",
1585
- "skip_get_url": false,
1586
- "url": "https://www.renfrewshire.gov.uk/article/2320/Check-your-bin-collection-day",
1582
+ "house_number": "1, STATIONHOUSE DRIVE, JOHNSTONE, RENFREWSHIRE, PA6 7FJ",
1583
+ "paon": "1, STATIONHOUSE DRIVE, JOHNSTONE, RENFREWSHIRE, PA6 7FJ",
1584
+ "postcode": "PA6 7FJ",
1585
+ "skip_get_url": true,
1586
+ "url": "https://www.renfrewshire.gov.uk/bin-day",
1587
1587
  "web_driver": "http://selenium:4444",
1588
1588
  "wiki_name": "Renfrewshire Council",
1589
- "wiki_note": "Pass the house name/number and postcode in their respective parameters. This parser requires a Selenium webdriver."
1589
+ "wiki_note": "Pass the full address as it appears on the website. This parser requires a Selenium webdriver."
1590
1590
  },
1591
1591
  "RhonddaCynonTaffCouncil": {
1592
1592
  "skip_get_url": true,
@@ -19,6 +19,7 @@ class CouncilClass(AbstractGetBinDataClass):
19
19
  driver = None
20
20
  try:
21
21
  data = {"bins": []}
22
+ url = kwargs.get("url")
22
23
  user_paon = kwargs.get("paon")
23
24
  user_postcode = kwargs.get("postcode")
24
25
  web_driver = kwargs.get("web_driver")
@@ -28,9 +29,7 @@ class CouncilClass(AbstractGetBinDataClass):
28
29
 
29
30
  # Create Selenium webdriver
30
31
  driver = create_webdriver(web_driver, headless, None, __name__)
31
- driver.get(
32
- "https://www.renfrewshire.gov.uk/article/2320/Check-your-bin-collection-day"
33
- )
32
+ driver.get("https://www.renfrewshire.gov.uk/bin-day")
34
33
 
35
34
  accept_button = WebDriverWait(driver, timeout=30).until(
36
35
  EC.element_to_be_clickable((By.ID, "ccc-notify-accept"))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: uk_bin_collection
3
- Version: 0.143.5
3
+ Version: 0.143.6
4
4
  Summary: Python Lib to collect UK Bin Data
5
5
  Author: Robert Bradley
6
6
  Author-email: robbrad182@gmail.com
@@ -3,7 +3,7 @@ uk_bin_collection/tests/check_selenium_url_in_input.json.py,sha256=Iecdja0I3XIiY
3
3
  uk_bin_collection/tests/council_feature_input_parity.py,sha256=DO6Mk4ImYgM5ZCZ-cutwz5RoYYWZRLYx2tr6zIs_9Rc,3843
4
4
  uk_bin_collection/tests/features/environment.py,sha256=VQZjJdJI_kZn08M0j5cUgvKT4k3iTw8icJge1DGOkoA,127
5
5
  uk_bin_collection/tests/features/validate_council_outputs.feature,sha256=SJK-Vc737hrf03tssxxbeg_JIvAH-ddB8f6gU1LTbuQ,251
6
- uk_bin_collection/tests/input.json,sha256=4z5vATpVvx8LyiodZuMe55iTCWalBIRMLsELSFTS_uY,121440
6
+ uk_bin_collection/tests/input.json,sha256=Jsgpmyg3oz-2v87n_SbJGHcPM4-yIkQFFAsLvJDDI2g,121493
7
7
  uk_bin_collection/tests/output.schema,sha256=ZwKQBwYyTDEM4G2hJwfLUVM-5v1vKRvRK9W9SS1sd18,1086
8
8
  uk_bin_collection/tests/step_defs/step_helpers/file_handler.py,sha256=Ygzi4V0S1MIHqbdstUlIqtRIwnynvhu4UtpweJ6-5N8,1474
9
9
  uk_bin_collection/tests/step_defs/test_validate_council.py,sha256=VZ0a81sioJULD7syAYHjvK_-nT_Rd36tUyzPetSA0gk,3475
@@ -226,7 +226,7 @@ uk_bin_collection/uk_bin_collection/councils/ReadingBoroughCouncil.py,sha256=ZlQ
226
226
  uk_bin_collection/uk_bin_collection/councils/RedcarandClevelandCouncil.py,sha256=MV8CD1sj8fiy6PAVrIHO4TyTHodn45nDZp0rQfs7PiM,2829
227
227
  uk_bin_collection/uk_bin_collection/councils/RedditchBoroughCouncil.py,sha256=8QmcpStCT7c-CLhmiQ8ZeEyvtysU110VDiMQdfQTErk,2469
228
228
  uk_bin_collection/uk_bin_collection/councils/ReigateAndBansteadBoroughCouncil.py,sha256=HMLKdRUO5DdMJe1d1X5qtKtQsf6d5TAPViIZpMzAfes,3251
229
- uk_bin_collection/uk_bin_collection/councils/RenfrewshireCouncil.py,sha256=VlWm-w4d-UchoENe_hCTCGlfSHiMlS4wNEeMvxuNR2U,5109
229
+ uk_bin_collection/uk_bin_collection/councils/RenfrewshireCouncil.py,sha256=VjjolGn0KemgIUnmF-JlB8gxNLyaQB5mP61NonxVJAo,5080
230
230
  uk_bin_collection/uk_bin_collection/councils/RhonddaCynonTaffCouncil.py,sha256=wInyVG_0wRrX_dRO9qbAzPhlXDseXapj2zQhsISw8gg,3233
231
231
  uk_bin_collection/uk_bin_collection/councils/RochdaleCouncil.py,sha256=UTSwSw515VehGn4xkjjRhUlzS4lDj4hgna6y-4VW3uM,2379
232
232
  uk_bin_collection/uk_bin_collection/councils/RochfordCouncil.py,sha256=rfhD66A9HfHL46ldF9sbxvV7fPaaoNxzIJbHjVT6A90,2621
@@ -328,8 +328,8 @@ uk_bin_collection/uk_bin_collection/councils/YorkCouncil.py,sha256=I2kBYMlsD4bId
328
328
  uk_bin_collection/uk_bin_collection/councils/council_class_template/councilclasstemplate.py,sha256=EQWRhZ2pEejlvm0fPyOTsOHKvUZmPnxEYO_OWRGKTjs,1158
329
329
  uk_bin_collection/uk_bin_collection/create_new_council.py,sha256=m-IhmWmeWQlFsTZC4OxuFvtw5ZtB8EAJHxJTH4O59lQ,1536
330
330
  uk_bin_collection/uk_bin_collection/get_bin_data.py,sha256=YvmHfZqanwrJ8ToGch34x-L-7yPe31nB_x77_Mgl_vo,4545
331
- uk_bin_collection-0.143.5.dist-info/LICENSE,sha256=vABBUOzcrgfaTKpzeo-si9YVEun6juDkndqA8RKdKGs,1071
332
- uk_bin_collection-0.143.5.dist-info/METADATA,sha256=gAdCFPPQuB4BwHt34iRKHEYzzhwxjh-ULXZOMU0lMZY,19858
333
- uk_bin_collection-0.143.5.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
334
- uk_bin_collection-0.143.5.dist-info/entry_points.txt,sha256=36WCSGMWSc916S3Hi1ZkazzDKHaJ6CD-4fCEFm5MIao,90
335
- uk_bin_collection-0.143.5.dist-info/RECORD,,
331
+ uk_bin_collection-0.143.6.dist-info/LICENSE,sha256=vABBUOzcrgfaTKpzeo-si9YVEun6juDkndqA8RKdKGs,1071
332
+ uk_bin_collection-0.143.6.dist-info/METADATA,sha256=_nNZJggZZm7s_yy51Yse2Dn-n4DyRJfrSHzfy_nhxK0,19858
333
+ uk_bin_collection-0.143.6.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
334
+ uk_bin_collection-0.143.6.dist-info/entry_points.txt,sha256=36WCSGMWSc916S3Hi1ZkazzDKHaJ6CD-4fCEFm5MIao,90
335
+ uk_bin_collection-0.143.6.dist-info/RECORD,,