thephoeron / rsn-mtg

RSN-MTG: A front-facing and administrative module for your REDSHIFTNET-powered web application, to track, catalogue, share, and view stats about your MTG card collection
MIT License
1 stars 1 forks source link

Rewrite db sync script to parse Gatherer by expansion #5

Open thephoeron opened 10 years ago

thephoeron commented 10 years ago

A naive loop over all possible Multiverse IDs, and a similar attempt at compiling a list of valid Multiverse IDs (per issue #4), is far too slow and error prone.

A better approach is to pull the list of Multiverse IDs, and total card count, from the Gatherer expansion set page with the visual spoiler output (since it is not paginated).

thephoeron commented 10 years ago

One issue with this approach is that it does not factor in variations of the same card, or two-sided cards.