Esempio n. 1
0
  def _month_parser(self, request_date):
    month_url = self.MONTH_FORMAT % {'year': request_date.year, 'month': request_date.month}
    
    logging.debug('Parsing shows from: %s' % month_url)

    for show_url in html_util.get_show_urls(month_url, 'body', None, self.IS_EVENT):
      yield self._parse_show(show_url)
Esempio n. 2
0
  def _month_parser(self, request_date):
    month_url = '%sevents/month/%d/%d' % (self.BASE_URL, request_date.year, request_date.month)
    
    logging.debug('Parsing shows from: %s' % month_url)

    for show_url in html_util.get_show_urls(month_url, "#content", None, self.IS_EVENT):
      try:
        yield self._parse_show(show_url)
      except UnicodeDecodeError, e:
        logging.exception('Unable to parse show: %s, skipping' % show_url)
        
        continue
Esempio n. 3
0
 def _get_parser(self):
   for cal_url in self.CALENDAR_URLS:
     show_urls = html_util.get_show_urls(cal_url, "#longlist", '.details', self.IS_EVENT)
   
     for url in show_urls:
       yield self._parse_show(url)
Esempio n. 4
0
    def _get_parser(self):
        show_urls = html_util.get_show_urls(self.CALENDAR_URL, ".list-view", ".list-view-item", self.IS_EVENT)

        for url in show_urls:
            yield self._parse_show(url)
Esempio n. 5
0
 def _get_parser(self):
   show_urls = html_util.get_show_urls(self.CALENDAR_URL, ".tfly-calendar", 'td', self.IS_EVENT)
   
   for url in show_urls:
     yield self._parse_show(url)
Esempio n. 6
0
    def _get_parser(self):
        show_urls = html_util.get_show_urls(self.CALENDAR_URL, "#calendar-container", "td", self.IS_EVENT)

        for url in show_urls:
            yield self._parse_show(url)
Esempio n. 7
0
 def _get_parser(self):
   show_urls = html_util.get_show_urls(self.CALENDAR_URL, ".tfly-calendar", '.one-event', self.IS_EVENT, parse_500 = True)
   
   for url in show_urls:
     yield self._parse_show(url)