DeckCollect.com - A new place to track your playing card collection
-
- Member
- Posts: 67
- Joined: Sat Feb 11, 2023 3:12 pm
- Has thanked: 20 times
- Been thanked: 29 times
Re: DeckCollect.com - A new place to track your playing card collection
Would love to be involved but still not able to join.
- kevork
- Member
- Posts: 3167
- Joined: Mon Mar 28, 2022 12:54 am
- Collector: Yes
- White Whale: NPCCD 17 Amethyst + Prototypes
- Decks Owned: 1100
- Location: California
- Has thanked: 3124 times
- Been thanked: 4334 times
Re: DeckCollect.com - A new place to track your playing card collection
Would you be able to zip and send those images to me? I already have a public Google drive with some images scraped from two user collections but they're nowhere near complete. It should be easy to remove the duplicates and upload the rest for others, particularly Manu, hsbc, and the like, to use to rebuild from.shaneriley wrote: ↑Tue Mar 19, 2024 9:49 am I wasn't sure about uploading the images, since each user granted P52 with a license to use them and I'm not affiliated with P52.
With your .json file and these images, there's some significant potential for rebuilding and improving upon the entire P52 database. I can see people with technical knowhow automating it all, although manual entries might be less error prone(?)
Here's the drive in question: https://drive.google.com/drive/mobile/f ... sp=sharing

[BUY] NPCCD Decks (Priority 2017 NPCCD Amethyst + Platinum)
[BUY] Complete Lotrek Collection
- shaneriley
- Member
- Posts: 10
- Joined: Sun Mar 10, 2024 4:52 pm
- Collector: Yes
- Player: Yes
- White Whale: E Lewis Alice in Wonderland
- Decks Owned: 850
- Has thanked: 1 time
- Been thanked: 22 times
Re: DeckCollect.com - A new place to track your playing card collection
I'll compress it all and upload it tonight. I don't see a way to view the file count in your archive, but my local one has 12,099 images.kevork wrote: ↑Wed Mar 20, 2024 2:18 am Would you be able to zip and send those images to me? I already have a public Google drive with some images scraped from two user collections but they're nowhere near complete. It should be easy to remove the duplicates and upload the rest for others, particularly Manu, hsbc, and the like, to use to rebuild from.
With your .json file and these images, there's some significant potential for rebuilding and improving upon the entire P52 database. I can see people with technical knowhow automating it all, although manual entries might be less error prone(?)
Here's the drive in question: https://drive.google.com/drive/mobile/f ... sp=sharing
- GandalfPC
- Moderator
- Posts: 4770
- Joined: Fri Jul 02, 2021 12:01 pm
- Cardist: Yes
- Collector: Yes
- Player: Yes
- Magician: Yes
- White Whale: Ambergris
- Decks Owned: 1700
- Location: New Mexico
- Has thanked: 7949 times
- Been thanked: 4484 times
Re: DeckCollect.com - A new place to track your playing card collection
My deck images are here: https://www.dropbox.com/scl/fo/itaq414z ... kme6f&dl=0
should be 1500 or so decks worth
should be 1500 or so decks worth
- kevork
- Member
- Posts: 3167
- Joined: Mon Mar 28, 2022 12:54 am
- Collector: Yes
- White Whale: NPCCD 17 Amethyst + Prototypes
- Decks Owned: 1100
- Location: California
- Has thanked: 3124 times
- Been thanked: 4334 times
Re: DeckCollect.com - A new place to track your playing card collection
My folder had 11,809 images. With Gandalf's image scrape copied into the folder, that number is now 13,720 images. I've uploaded them into the drive.shaneriley wrote: ↑Wed Mar 20, 2024 11:30 amI'll compress it all and upload it tonight. I don't see a way to view the file count in your archive, but my local one has 12,099 images.kevork wrote: ↑Wed Mar 20, 2024 2:18 am Would you be able to zip and send those images to me? I already have a public Google drive with some images scraped from two user collections but they're nowhere near complete. It should be easy to remove the duplicates and upload the rest for others, particularly Manu, hsbc, and the like, to use to rebuild from.
With your .json file and these images, there's some significant potential for rebuilding and improving upon the entire P52 database. I can see people with technical knowhow automating it all, although manual entries might be less error prone(?)
Here's the drive in question: https://drive.google.com/drive/mobile/f ... sp=sharing
The Wayback Machine's latest snapshot of P52 on February 4th, 2024 shows P52 having 24,956 unique decks in the archives. [Source]
If we're assuming 2 images per deck, that's 49,912 images. So with 13,720 images, we have about 27% of the image data. With 17 lines of code per deck metadata and the json file being 63,227 lines, it seems to be 3,719 decks, so about 15% of P52's total metadata. It's certainly a foundation for a rebuild.
Since P52 beautifully named the image files with the corresponding deck number, they can be cross-referenced with the json file.
Here you can see an example of the process and 3 of the 4 possible scenarios, with the fourth scenario not illustrated here: both image/metadata missing.
- "Deck 5944" has the corresponding image and metadata.
- "Deck 5947" has the metadata but no images.
- "Deck 5952" has the image but no metadata.

[BUY] NPCCD Decks (Priority 2017 NPCCD Amethyst + Platinum)
[BUY] Complete Lotrek Collection
- shaneriley
- Member
- Posts: 10
- Joined: Sun Mar 10, 2024 4:52 pm
- Collector: Yes
- Player: Yes
- White Whale: E Lewis Alice in Wonderland
- Decks Owned: 850
- Has thanked: 1 time
- Been thanked: 22 times
Re: DeckCollect.com - A new place to track your playing card collection
Here's my archive of images. I had made a quick web app that combined this image set with the data I scraped from Wayback, and a large number of decks don't have images. Still, they might be useful for requesting new photos of the decks.
https://www.dropbox.com/scl/fi/90ixxqsu ... k3d5m&dl=0
https://www.dropbox.com/scl/fi/90ixxqsu ... k3d5m&dl=0
- hsbc
- Moderator
- Posts: 6113
- Joined: Wed Sep 05, 2018 2:10 pm
- Cardist: Yes
- Collector: Yes
- Player: Yes
- White Whale: Grid 1 LE
- Decks Owned: 1500
- Location: ATL
- Has thanked: 9924 times
- Been thanked: 6687 times
Re: DeckCollect.com - A new place to track your playing card collection
We're up to 600 decks added 
Anyone who has access, I'd appreciate any help adding decks! If you don't have a scanner, Henry at SoCal said we can use scans on his site (see the past auctions for a good place to start?)
Shoutout to Timmargh for adding my white whale

Anyone who has access, I'd appreciate any help adding decks! If you don't have a scanner, Henry at SoCal said we can use scans on his site (see the past auctions for a good place to start?)
Shoutout to Timmargh for adding my white whale

- Timmargh
- Member
- Posts: 1548
- Joined: Sun Apr 30, 2017 6:41 pm
- Collector: Yes
- Player: Yes
- White Whale: Grid 56incello
- Location: Gloucester, UK
- Has thanked: 1521 times
- Been thanked: 1284 times
- Contact:
Re: DeckCollect.com - A new place to track your playing card collection
*double-checks locks; cocks gun*
Can't be too careful.
- hsbc
- Moderator
- Posts: 6113
- Joined: Wed Sep 05, 2018 2:10 pm
- Cardist: Yes
- Collector: Yes
- Player: Yes
- White Whale: Grid 1 LE
- Decks Owned: 1500
- Location: ATL
- Has thanked: 9924 times
- Been thanked: 6687 times
Re: DeckCollect.com - A new place to track your playing card collection
More requests:
Tongheng > Tongheng (KWPCC)
Kings Wild Project > Kings Wild Project (KWP) -- same thing with t11, TWI, S17, AoP please
Deckidea > Jason Cheng (Deckidea) -- this is in Artists
On the add deck upload page, you have instructions under some of the field names -- could you add one under release date? Something like:
"A year printed on the tuck or cards overrides any date of funding or delivery. Note any differences in the description."
And a quick mockup idea:

Maybe swap out the stats on the right with a logo and links?
I also think fields for primary and secondary colors would be awesome
Tongheng > Tongheng (KWPCC)
Kings Wild Project > Kings Wild Project (KWP) -- same thing with t11, TWI, S17, AoP please

Deckidea > Jason Cheng (Deckidea) -- this is in Artists
On the add deck upload page, you have instructions under some of the field names -- could you add one under release date? Something like:
"A year printed on the tuck or cards overrides any date of funding or delivery. Note any differences in the description."
And a quick mockup idea:

Maybe swap out the stats on the right with a logo and links?
I also think fields for primary and secondary colors would be awesome

- kevork
- Member
- Posts: 3167
- Joined: Mon Mar 28, 2022 12:54 am
- Collector: Yes
- White Whale: NPCCD 17 Amethyst + Prototypes
- Decks Owned: 1100
- Location: California
- Has thanked: 3124 times
- Been thanked: 4334 times
Re: DeckCollect.com - A new place to track your playing card collection
This sparked a suggestion. An option to anonymously upload a deck, but you'd still need an account to upload; it just wouldn't show up publicly. This can be a protective measure. Ideally, if a user does not check "Upload Anonymously" they should still be able to remove their username from the upload retroactively.
EDIT: 214 additional images were added to the Drive folder thanks to ones Shane had scraped that weren't accounted for previously.

[BUY] NPCCD Decks (Priority 2017 NPCCD Amethyst + Platinum)
[BUY] Complete Lotrek Collection
- hsbc
- Moderator
- Posts: 6113
- Joined: Wed Sep 05, 2018 2:10 pm
- Cardist: Yes
- Collector: Yes
- Player: Yes
- White Whale: Grid 1 LE
- Decks Owned: 1500
- Location: ATL
- Has thanked: 9924 times
- Been thanked: 6687 times
Re: DeckCollect.com - A new place to track your playing card collection
An idea for the front page -- users vote each week for a producer or artist or category, and then rank the winning creator's decks. Then the top five or so decks are displayed on the front page as "community picks" or something
Artists can't be picked more than once in a... while?
We want to highlight different cards each week is my thinking here


- hsbc
- Moderator
- Posts: 6113
- Joined: Wed Sep 05, 2018 2:10 pm
- Cardist: Yes
- Collector: Yes
- Player: Yes
- White Whale: Grid 1 LE
- Decks Owned: 1500
- Location: ATL
- Has thanked: 9924 times
- Been thanked: 6687 times
- shaneriley
- Member
- Posts: 10
- Joined: Sun Mar 10, 2024 4:52 pm
- Collector: Yes
- Player: Yes
- White Whale: E Lewis Alice in Wonderland
- Decks Owned: 850
- Has thanked: 1 time
- Been thanked: 22 times
Re: DeckCollect.com - A new place to track your playing card collection
I wrote a quick scraper to grab all deck info, and it's working through it now. I'm up to 118. Hoping to then download the front/back deck photos, and finally the gallery photos. Will then update the Internet Archive entry to include the data.
I might also create a direct clone of the site, since I've already set up a basic API using the data and set up user auth. Shouldn't be too much more work to set up the deck POST action. From there, I could add the features I've always wanted in P52.
Will update everyone here when the archive is complete, or when P52 goes down again and I've posted as much as I've obtained.
I might also create a direct clone of the site, since I've already set up a basic API using the data and set up user auth. Shouldn't be too much more work to set up the deck POST action. From there, I could add the features I've always wanted in P52.
Will update everyone here when the archive is complete, or when P52 goes down again and I've posted as much as I've obtained.
- kevork
- Member
- Posts: 3167
- Joined: Mon Mar 28, 2022 12:54 am
- Collector: Yes
- White Whale: NPCCD 17 Amethyst + Prototypes
- Decks Owned: 1100
- Location: California
- Has thanked: 3124 times
- Been thanked: 4334 times
Re: DeckCollect.com - A new place to track your playing card collection
Any tips or guide on how someone can go about this, Shane? I'm a novice but so curious. Not necessarily the website cloning part although that sounds awesome too, but moreso the data scraping portion.shaneriley wrote: ↑Fri Mar 22, 2024 6:35 pm I wrote a quick scraper to grab all deck info, and it's working through it now. I'm up to 118. Hoping to then download the front/back deck photos, and finally the gallery photos. Will then update the Internet Archive entry to include the data.
I might also create a direct clone of the site, since I've already set up a basic API using the data and set up user auth. Shouldn't be too much more work to set up the deck POST action. From there, I could add the features I've always wanted in P52.
Will update everyone here when the archive is complete, or when P52 goes down again and I've posted as much as I've obtained.

[BUY] NPCCD Decks (Priority 2017 NPCCD Amethyst + Platinum)
[BUY] Complete Lotrek Collection
- GandalfPC
- Moderator
- Posts: 4770
- Joined: Fri Jul 02, 2021 12:01 pm
- Cardist: Yes
- Collector: Yes
- Player: Yes
- Magician: Yes
- White Whale: Ambergris
- Decks Owned: 1700
- Location: New Mexico
- Has thanked: 7949 times
- Been thanked: 4484 times
Re: DeckCollect.com - A new place to track your playing card collection
P52 just loaded for me - didn’t log in yet - but I’m already dancing
- shaneriley
- Member
- Posts: 10
- Joined: Sun Mar 10, 2024 4:52 pm
- Collector: Yes
- Player: Yes
- White Whale: E Lewis Alice in Wonderland
- Decks Owned: 850
- Has thanked: 1 time
- Been thanked: 22 times
Re: DeckCollect.com - A new place to track your playing card collection
I write mine in Node. The main code uses the core http Node package and cheerio for constructing a DOM and plucking data from the page using jQuery-like selectors. It requires a good knowledge of JavaScript programming to build. The one I built runs in 100-deck stretches, with 500 decks per JSON file. It's not super-polished, but it works. After that runs, I'll write a similar script to download the images.
I can't really give you pointers other than to learn JavaScript. It comes in handy more often than any other programming language these days.
- bdawg923
- Member
- Posts: 1134
- Joined: Sun Jun 29, 2014 8:48 am
- White Whale: bdawg x 923
- Has thanked: 518 times
- Been thanked: 702 times
Re: DeckCollect.com - A new place to track your playing card collection
I know some of these wordsshaneriley wrote: ↑Fri Mar 22, 2024 7:36 pmI write mine in Node. The main code uses the core http Node package and cheerio for constructing a DOM and plucking data from the page using jQuery-like selectors. It requires a good knowledge of JavaScript programming to build. The one I built runs in 100-deck stretches, with 500 decks per JSON file. It's not super-polished, but it works. After that runs, I'll write a similar script to download the images.
I can't really give you pointers other than to learn JavaScript. It comes in handy more often than any other programming language these days.
This comment has been mod-approved since you are able to see it.
Looking to buy (DM me if selling please!):
-Limbo v1 decks
-2017 NPCCD Bronze, Silver, Emerald
-2018 NPCCD Green Pawn & Missing Island decks
-Original Apothecary Prototype
Looking to buy (DM me if selling please!):
-Limbo v1 decks
-2017 NPCCD Bronze, Silver, Emerald
-2018 NPCCD Green Pawn & Missing Island decks
-Original Apothecary Prototype
- Timmargh
- Member
- Posts: 1548
- Joined: Sun Apr 30, 2017 6:41 pm
- Collector: Yes
- Player: Yes
- White Whale: Grid 56incello
- Location: Gloucester, UK
- Has thanked: 1521 times
- Been thanked: 1284 times
- Contact:
Re: DeckCollect.com - A new place to track your playing card collection
Haha, exactly what I was going to say!
Get out of my head, Charles!
- GandalfPC
- Moderator
- Posts: 4770
- Joined: Fri Jul 02, 2021 12:01 pm
- Cardist: Yes
- Collector: Yes
- Player: Yes
- Magician: Yes
- White Whale: Ambergris
- Decks Owned: 1700
- Location: New Mexico
- Has thanked: 7949 times
- Been thanked: 4484 times
Re: DeckCollect.com - A new place to track your playing card collection
I’ve been neck deep in node for the last 10 years - I can help you hack through it
- Timmargh
- Member
- Posts: 1548
- Joined: Sun Apr 30, 2017 6:41 pm
- Collector: Yes
- Player: Yes
- White Whale: Grid 56incello
- Location: Gloucester, UK
- Has thanked: 1521 times
- Been thanked: 1284 times
- Contact:
Re: DeckCollect.com - A new place to track your playing card collection
And if anyone wants amateurish PHP help then give me a shout. 

- montenzi
- ✔ VERIFIED Designer
- Posts: 1322
- Joined: Mon Oct 03, 2016 4:40 pm
- Location: New Zealand
- Has thanked: 852 times
- Been thanked: 1803 times
- Contact:
Re: DeckCollect.com - A new place to track your playing card collection
To download all deck images, assuming there are 26,742 decks in the database:
To download gallery images:
Linux only, I don't know how to do it using Windows tools.
This folder is 11.5Gb
Code: Select all
wget -m https://portfolio52.com/files/700x500/deck_{1..26742}_back_img.jpg
wget -m https://portfolio52.com/files/700x500/deck_{1..26742}_front_img.jpg
Code: Select all
wget -m https://portfolio52.com/files/700x500/gallery_item_{1..20000}.jpg
wget -m https://portfolio52.com/files/700x500/gallery_item_{20001..40000}.jpg
wget -m https://portfolio52.com/files/700x500/gallery_item_{40001..58662}.jpg
This folder is 11.5Gb
Montenzi.NZ Instagram: @montenzi
- hsbc
- Moderator
- Posts: 6113
- Joined: Wed Sep 05, 2018 2:10 pm
- Cardist: Yes
- Collector: Yes
- Player: Yes
- White Whale: Grid 1 LE
- Decks Owned: 1500
- Location: ATL
- Has thanked: 9924 times
- Been thanked: 6687 times
Re: DeckCollect.com - A new place to track your playing card collection
Apparently it was not Alex who rebooted P52... 

- kevork
- Member
- Posts: 3167
- Joined: Mon Mar 28, 2022 12:54 am
- Collector: Yes
- White Whale: NPCCD 17 Amethyst + Prototypes
- Decks Owned: 1100
- Location: California
- Has thanked: 3124 times
- Been thanked: 4334 times
Re: DeckCollect.com - A new place to track your playing card collection
Nice to know it's that easy. I tried it on Windows using the wget binaries from: https://eternallybored.org/misc/wget/ but the link you provided wasn't able to automate it in the ways you were probably able to on Linux. Can anyone upload the 11.5Gb file to be downloaded?montenzi wrote: ↑Fri Mar 22, 2024 11:01 pm To download all deck images, assuming there are 26,742 decks in the database:
To download gallery images:Code: Select all
wget -m https://portfolio52.com/files/700x500/deck_{1..26742}_back_img.jpg wget -m https://portfolio52.com/files/700x500/deck_{1..26742}_front_img.jpg
Linux only, I don't know how to do it using Windows tools.Code: Select all
wget -m https://portfolio52.com/files/700x500/gallery_item_{1..20000}.jpg wget -m https://portfolio52.com/files/700x500/gallery_item_{20001..40000}.jpg wget -m https://portfolio52.com/files/700x500/gallery_item_{40001..58662}.jpg
This folder is 11.5Gb
Thank you!

[BUY] NPCCD Decks (Priority 2017 NPCCD Amethyst + Platinum)
[BUY] Complete Lotrek Collection
- Honeybee
- Member
- Posts: 2036
- Joined: Tue Jun 13, 2023 5:07 am
- Collector: Yes
- White Whale: Tigers 101
- Decks Owned: 200
- Location: Australia
- Has thanked: 3037 times
- Been thanked: 957 times
Re: DeckCollect.com - A new place to track your playing card collection
LOL there are only 15 of it - good luck with that hsbc
KoD - my initials, no wonder I grew up a lover of playing cards
Avatar - Honeybee (No.15+17) Tuck pic by Randy Butterfield for PM
Avatar - Honeybee (No.15+17) Tuck pic by Randy Butterfield for PM
- montenzi
- ✔ VERIFIED Designer
- Posts: 1322
- Joined: Mon Oct 03, 2016 4:40 pm
- Location: New Zealand
- Has thanked: 852 times
- Been thanked: 1803 times
- Contact:
Re: DeckCollect.com - A new place to track your playing card collection
I'll disable links in a couple of days.kevork wrote: ↑Fri Mar 22, 2024 11:37 pm Nice to know it's that easy. I tried it on Windows using the wget binaries from: https://eternallybored.org/misc/wget/ but the link you provided wasn't able to automate it in the ways you were probably able to on Linux. Can anyone upload the 11.5Gb file to be downloaded?
Thank you!
https://old.montenzi.nz/p52-700-boxes.tar (5GB) - new file with boxes only - UPDATE
https://old.montenzi.nz/p52-gallery.tar (19GB) - gallery images - UPDATE
P.S. I'm not sure what my server speed limit is, but I'm downloading it now at 100 Mbps, and my local connection is 300 Mbps.
Montenzi.NZ Instagram: @montenzi
- montenzi
- ✔ VERIFIED Designer
- Posts: 1322
- Joined: Mon Oct 03, 2016 4:40 pm
- Location: New Zealand
- Has thanked: 852 times
- Been thanked: 1803 times
- Contact:
Re: DeckCollect.com - A new place to track your playing card collection
It seems that the original gallery photos are in another folder, which is 20 GB in size.
Yes, I downloaded this folder to my server.
The "gallery_item" files in the 700x500 folder are cropped to fit the size of the box, and I'm not sure of their purpose. Backs and fronts are still there.
I updated the file to backs and fronts only, removed the old file and added a new "gallery" file.

The "gallery_item" files in the 700x500 folder are cropped to fit the size of the box, and I'm not sure of their purpose. Backs and fronts are still there.
I updated the file to backs and fronts only, removed the old file and added a new "gallery" file.
Montenzi.NZ Instagram: @montenzi
-
- Member
- Posts: 20
- Joined: Fri Feb 24, 2023 2:05 pm
- Collector: Yes
- Player: Yes
- Decks Owned: 60
- Has thanked: 2 times
- Been thanked: 10 times
Re: DeckCollect.com - A new place to track your playing card collection
Portfolio 52 is back up. I hope this doesn't derail this site. It's nice to have options
- Timmargh
- Member
- Posts: 1548
- Joined: Sun Apr 30, 2017 6:41 pm
- Collector: Yes
- Player: Yes
- White Whale: Grid 56incello
- Location: Gloucester, UK
- Has thanked: 1521 times
- Been thanked: 1284 times
- Contact:
Re: DeckCollect.com - A new place to track your playing card collection
I had 100Mbps in my old place about 10 years ago, but now I'm lucky if I get 25.

- hsbc
- Moderator
- Posts: 6113
- Joined: Wed Sep 05, 2018 2:10 pm
- Cardist: Yes
- Collector: Yes
- Player: Yes
- White Whale: Grid 1 LE
- Decks Owned: 1500
- Location: ATL
- Has thanked: 9924 times
- Been thanked: 6687 times
Re: DeckCollect.com - A new place to track your playing card collection
How'd it go?shaneriley wrote: ↑Fri Mar 22, 2024 6:35 pm Will update everyone here when the archive is complete, or when P52 goes down again and I've posted as much as I've obtained.

Who is online
Users browsing this forum: No registered users and 5 guests