Exemple #1
0
def detalle_episodio(item):

    item.geolocked = "1"

    try:
        from servers import rtve as servermodule
        video_urls = servermodule.get_video_url(item.url)
        item.media_url = video_urls[-1][1]
    except:
        import traceback
        print traceback.format_exc()
        item.media_url = ""

    return item
Exemple #2
0
def detalle_episodio(item):

    item.geolocked = "1"

    try:
        from servers import rtve as servermodule
        video_urls = servermodule.get_video_url(item.url)
        item.media_url = video_urls[0][1]
    except:
        import traceback
        print traceback.format_exc()
        item.media_url = ""

    return item