Exemple #1
0
 def get_media_url(self, host, media_id):
     try:
         self._auto_update(VID_SOURCE, VID_PATH)
         reload(thevid_gmu)
         web_url = self.get_url(host, media_id)
         return thevid_gmu.get_media_url(web_url)
     except Exception as e:
         logger.log_debug('Exception during thevid.net resolve parse: %s' % e)
         raise
Exemple #2
0
 def get_media_url(self, host, media_id):
     try:
         self._auto_update(VID_SOURCE, VID_PATH)
         reload(thevid_gmu)
         web_url = self.get_url(host, media_id)
         return thevid_gmu.get_media_url(web_url)
     except Exception as e:
         logger.log_debug('Exception during thevid.net resolve parse: %s' % e)
         raise