ontehfritz / api.mtgdb.info

Project closing first of August 2015
http://www.mtgdb.info/
MIT License
36 stars 8 forks source link

Flavor text is not complete on some cards with multiple lines #18

Closed ontehfritz closed 10 years ago

ontehfritz commented 10 years ago

Hey,

Card #648. The flavor text in your database (which is brilliant by the way) only gets the first line. Subsequent lines are truincated. I'm guessing you populate from page scrape ?

Looking at the html they have the lines in individual boxes: http://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=648

<div id="ctl00_ctl00_ctl00_MainContent_SubContent_SubContent_FlavorText" class="value">
     <div class="cardtextbox"><i>'Twas in the bogs of Cannelbrae </i></div>
     <div class="cardtextbox">My mate did meet an early grave</div>
     <div class="cardtextbox">'Twas nothing left for us to save</div>
     <div class="cardtextbox">In the peat-filled bogs of Cannelbrae.</div></div>
</div>

Again, kudos on the api.

Regards

Barry

ontehfritz commented 10 years ago

Done. It should now have the full flavour text for each card