[ARDIE] fix formats extraction (fixes #3087)

#3087
Using `for index, url in enumerate(s['_stream'][::-1]):` would simplify the code