Now _sort_formats should be called explicitly. _sort_formats has been added to all the necessary places in code. Closes #8051
Fixes #8996
Always results in 403
HLS and DASH formats are no longer appeared in test cases. I keep them for fear of triggering new errors.
Closes #8862
The full URL lays in the `data` attribute of <object> (#8862)
encode_dict functionality has been improved and moved directly into compat_urllib_parse_urlencode All occurrences of compat_urllib_parse.urlencode throughout the codebase have been replaced by compat_urllib_parse_urlencode Closes #8974
Closes #8817