Fixed the rebrickable scraping to deal with changes #81

Merged
FrederikBaerentsen merged 2 commits from hiddenside/BrickTracker:fix-instructions-download into master 2025-08-08 19:47:15 +02:00
Contributor

Created a common naming schema for the instructions when downloaded
setnumber-set-name-rebrickable-name
so set 3816-1 Glove World would end up
3816-1-Glove-World-BI-3004-32-3816-V-29-39
If there is ever a duplicate name it appends _1+++

Created a common naming schema for the instructions when downloaded setnumber-set-name-rebrickable-name so set 3816-1 Glove World would end up 3816-1-Glove-World-BI-3004-32-3816-V-29-39 If there is ever a duplicate name it appends _1+++
hiddenside added 1 commit 2025-08-01 07:32:31 +02:00
Created a common naming schema for the instructions when downloaded
	setnumber-set-name-rebrickable-name
so set 3816-1 Glove World would end up
	3816-1-Glove-World-BI-3004-32-3816-V-29-39
If there is ever a duplicate name it appends _1+++
Author
Contributor

Using this in my .env file
REBRICKABLE_LINK_INSTRUCTIONS_PATTERN="https://rebrickable.com/instructions/{path}/"

Using this in my .env file `REBRICKABLE_LINK_INSTRUCTIONS_PATTERN="https://rebrickable.com/instructions/{path}/"`
hiddenside requested review from FrederikBaerentsen 2025-08-02 08:46:36 +02:00

Just tested the code. It works great. Only issue i found is the progress bar for the download. Let me know when you are satisfied and I'll merge it 👍

Just tested the code. It works great. Only issue i found is the progress bar for the download. Let me know when you are satisfied and I'll merge it 👍
Author
Contributor

Thanks @FrederikBaerentsen I will check out the progress bar today and update and rebase the PR and remove the WIP.

Thanks @FrederikBaerentsen I will check out the progress bar today and update and rebase the PR and remove the WIP.
hiddenside force-pushed fix-instructions-download from 48aaeddb85 to 79f348178c 2025-08-02 21:17:34 +02:00 Compare
hiddenside changed title from WIP: Fixed the rebrickable scraping to deal with changes to Fixed the rebrickable scraping to deal with changes 2025-08-02 21:18:44 +02:00
Author
Contributor

@FrederikBaerentsen please test again I believe I resolved the progress bar how it's working across the app. Thanks!

@FrederikBaerentsen please test again I believe I resolved the progress bar how it's working across the app. Thanks!
hiddenside removed review request for FrederikBaerentsen 2025-08-04 08:09:30 +02:00
hiddenside requested review from FrederikBaerentsen 2025-08-04 08:09:36 +02:00
Author
Contributor

@FrederikBaerentsen anything else needed to get this merged? I have other PR's to open but just wanted to make sure this would get merged before pushing more. Thanks!

@FrederikBaerentsen anything else needed to get this merged? I have other PR's to open but just wanted to make sure this would get merged before pushing more. Thanks!

@hiddenside Been busy with work, but i'll merge it tonight! Just need to test the docker container again.

@hiddenside Been busy with work, but i'll merge it tonight! Just need to test the docker container again.
FrederikBaerentsen merged commit 7bfbbbf298 into master 2025-08-08 19:47:15 +02:00

The docker image has been pushed to :latest.

The docker image has been pushed to `:latest`.
Sign in to join this conversation.