Ejemplo n.º 1
0
 def _download(self):
     """
     Retrieves and stores the profile page (i.e. first wishlist
     page plus user's information and other wishlists details).
     """
     url = 'http://www.amazon' + self.domain + '/wishlist/' + self.userid
     self.page = helpers._parser(url)
Ejemplo n.º 2
0
 def _download(self):
     """Builds a search query and retrieves its result for the parser."""
     query = [
         '/gp/registry/search.html?', 'ie=UTF8', '&type=wishlist',
         '&field-name=', self.name
     ]
     url = 'http://www.amazon' + self.domain + ''.join(query)
     self.page = helpers._parser(url)
Ejemplo n.º 3
0
 def _download(self):
     """Retrieves and stores the printable version of the wishlist for later parsing."""
     query = [
         '/ref=cm_wl_act_print_o?', '_encoding=UTF8',
         '&layout=standard-print', '&disableNav=1', '&visitor-view=1',
         '&items-per-page=9999'
     ]
     url = 'http://www.amazon' + self.domain + '/wishlist/' + self.userid + ''.join(
         query)
     self.page = helpers._parser(url)
Ejemplo n.º 4
0
 def _download(self):
     """Retrieves and stores the printable version of the wishlist for later parsing."""
     query = ['/ref=cm_wl_act_print_o?',
              '_encoding=UTF8',
              '&layout=standard-print',
              '&disableNav=1',
              '&visitor-view=1',
              '&items-per-page=9999']
     url = 'http://www.amazon' + self.domain + '/wishlist/' + self.userid + ''.join(query)
     self.page = helpers._parser(url)
Ejemplo n.º 5
0
 def _download(self):
     """Builds a search query and retrieves its result for the parser."""
     query = ["/gp/registry/search.html?", "ie=UTF8", "&type=wishlist", "&field-name=", self.name]
     url = "http://www.amazon" + self.domain + "".join(query)
     self.page = helpers._parser(url)