From 48815952e597116a0d8b5bcaf4d241e84afcd28f Mon Sep 17 00:00:00 2001 From: Tim Scott Date: Sat, 23 Mar 2019 21:53:42 -0500 Subject: [PATCH] Add 'include_variations' search option for cards. --- scrython/cards/search.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scrython/cards/search.py b/scrython/cards/search.py index cb77eb0..3c91a34 100644 --- a/scrython/cards/search.py +++ b/scrython/cards/search.py @@ -66,13 +66,14 @@ class Search(FoundationObject): 'order':kwargs.get('order', 'none'), 'unique':kwargs.get('unique', 'none'), 'dir':kwargs.get('dir', 'none'), + 'include_variations':kwargs.get('include_variations','false'), 'include_extras':kwargs.get('include_extras', 'false'), 'include_multilingual':kwargs.get('include_multilingual', 'false'), 'page':kwargs.get('page', '1') } - self.args = urllib.parse.urlencode(self.dict) self.url = 'cards/search?' + self.args + #print("URL: " + self.url) super(Search, self).__init__(self.url)