def _fetch_page(self): """ Fetches the raw html of the page """ url = '%s?%s' % (SEARCH_URL, urllib.urlencode(self.query_string)) self.raw_html = get_raw_html(url) return self.raw_html
def _fetch(self): """ Fetches detail page for app """ self._is_fetched = True raw_html = get_raw_html(self.url) self.details_soup = BeautifulSoup(raw_html) if hasattr(self, "_fetch_details"): self._fetch_details()
def _fetch(self): """ Fetches detail page for app """ self._is_fetched = True raw_html = get_raw_html(self.url) self.details_soup = BeautifulSoup(raw_html) if hasattr(self, '_fetch_details'): self._fetch_details()