def get_specific_episode_by_date(self, series, year, month, day):
        self.find_mirror()

        formatted_date='%i-%i-%i' % (year, month, day)
        full_url = self.active_mirror + EPISODE_LOOKUP_BY_DATE_URL % (API_KEY, series.id, formatted_date)

        if self.debug:
            print "Getting data for url: %s" % full_url

        try:
            xml_stream = urllib2.urlopen(full_url)
            xml_file_string = self.create_string_from_stream(xml_stream)
            to_return = self.parse_episode_xml(xml_file_string, series)

            return to_return[0]
        except urllib2.HTTPError:
            return None
dataset/ETHPy150Open mrtrumbe/meliman/thetvdb.py/TheTvDb.get_specific_episode_by_date/original