diff --git a/mtgcardlookup.py b/mtgcardlookup.py index 4284b00..11852c0 100755 --- a/mtgcardlookup.py +++ b/mtgcardlookup.py @@ -105,6 +105,7 @@ async def get_cards(card_names): cards = [] for name in card_names: + name = re.sub(r'<.*?>', '', name).strip() try: if len(name) > 141: c = scrython.cards.Named(fuzzy='Our Market Research Shows That Players Like Really Long Card Names So We Make This Card to Have The Absolute Longest Card Name Ever Elemental')