Removed a duplicated get_episodi call that was throwing unmanaged errors.
Added or BadStatusLine to the error catch expression to manage HTTP errors