Example #1
0
 def create_url(self, card_name):
     modified_name = UrlUtils.convertRawStringToURL(card_name)
     url = 'http://sales.starcitygames.com/cardsearch.php?singlesearch=%s' % modified_name
     soupUtils = WebserviceTools()
     soupForCard = soupUtils.getPageAsBeautifulSoup(url)
     return soupForCard
Example #2
0
 def create_url(self, card_name):
     modified_name = UrlUtils.convertRawStringToURL(card_name)
     url = 'http://netrunnerdb.com/find/?q=%s' % modified_name
     soupUtils = WebserviceTools()
     soupForCard = soupUtils.getPageAsBeautifulSoup(url)
     return soupForCard