Downloading images of entire deck

TappedOut forum

Posted on Jan. 4, 2019, 3:46 p.m. by goldlion

Hello there and thanks for taking your time to help me.

I was wondering what the fastest way was to download all the individual card images from a deck I've built on tapped out. I am hoping it's not opening each cards page to drag and drop.

I want to do this to us them for some system diagramming :)

Femme_Fatale says... #2

Right click on the deck list section, inspect element. Click on

<div class="row board-container">
and hit Ctrl+C, paste into a notepad.

You are looking specifically for the lines

data-image="img url.jpg or .png"

From there, you can either do a find function in notepad and copy the image url into another notepad, or you can do a find and replace and replace all the text you don't want with blanks to result in a list of urls. Then you wget with that list of urls with a wait applied to not pressure the server to download the images. If you don't know how to wget, you'd have to do them one by one by pasting the url into a web browser, and by that point you are better off just opening all the card pages if it is only a few decks.

This method applies to pretty much any mtg site and I use it to gather up large quantities of images. Keep in mind that on a large wget, you can still miss a fair amount of files and you'd have to go back and check.

I will say that I do not think that downloading all the images in a deck should be a feature. Some sites are better with proxy pages for printing but tappedout is not one of them. You may be able to find yourself one of those sites and use it.

January 4, 2019 6:39 p.m.

goldlion says... #3

Thanks so much for the help Femme_Fatale - Giving it a shot, though I'm having trouble finding that particular line.

January 4, 2019 7:05 p.m. Edited.

Femme_Fatale says... #4

Just do a find for

data-image="
It's the url right after it.

January 4, 2019 7:46 p.m.

Kemosabi says... #5

If your looking to proxy print then mtgpress.net is one of the best I think

January 4, 2019 8:02 p.m.

goldlion says... #6

Thanks Kemosabi. Not going to print, just going to pull it into a systems app to draw the connections between the cards.

And thank you Femme_Fatale, I actually ended up doing that, but not sure of the most efficient way to pull them all out and then get the images. One of the sites that have that built in might be my best bet?

January 4, 2019 9:03 p.m.

goldlion says... #7

Is there another option besides mtgpress.net? It just preps the file as a sheet. I'd like the images individually, hopefully without having to cut the 100 cards out..

January 4, 2019 9:07 p.m.

goldlion says... #8

Case closed! I opened the file MTGPress gave me in Adobe Illustrator and it recognizes them as separate files! Thanks for the effort, both of you!

January 4, 2019 9:10 p.m.

goldlion says... #9

Actually, scratch that. It just pulls in the preview, the first page and all other import options seem to turn the pages into a single image.

Still open to ideas :)

January 5, 2019 12:26 p.m.

Femme_Fatale says... #10

I recommend looking into WGET. It's a command prompt downloadable executable that lets you download files from a list in a notepad in an efficient and robust manner. It is what I use.

If you do use it though I recommend setting the wait time to a few seconds or more.

January 7, 2019 11:33 p.m.

goldlion says... #11

Thanks Femme_Fatale. When looking that up, I found I could do the same thing in Terminal (I run a mac). Is there any way to do multiples at a time, or to mass select all lines in the text editer that begin with data-image="? Otherwise it might be that opening each link in another window and just dragging and dropping the images is just as fast (for someone with my skills or lack there of).

ps - seeing as how you seem to have a good understanding of coding, I have a quick formatting question for deck descriptions on here. Is there any way to center images in the description?

January 8, 2019 4:54 p.m.

Femme_Fatale says... #12

Oh I don't know coding, and I don't know how to center images.

WGET does let you do it multiple times. It's why the results of my notepad instructions results in a list of image urls. You save the list of image urls as a txt file somewhere and direct WGET to that and it gets all the images in that file at once. And because it gets it all at once is also why I recommend setting wait to a couple of seconds because it can put some pressure on the server that is unwanted.

January 8, 2019 8:52 p.m.

goldlion says... #13

Femme_Fatale, thought you might be interested. I figured out how to center images and text. < center > (only without the spacing) before the image or line. If you want to center a title, do it after the ###

It even works in accordion titles, if you put it inbetween the =panel: and the "title" of the panel.

I discovered it and put it to use here, it looks great!


Google Ghave, Search Engine of Doom [Help Wanted]

Commander / EDH* goldlion

SCORE: 9 | 74 COMMENTS | 625 VIEWS | IN 4 FOLDERS


March 12, 2019 1:51 a.m.

Please login to comment