Currently, reddit has changed its video API and now audio files are stored in different file names. To overcome this problem, I have decided to do not hardcode the filenames, rather parse DASHPlaylist.mpd file to get all available qualities of audio and video. This also makes us avoid the iteration over qualities and checking for all of them.
Currently, reddit has changed its video API and now audio files are stored in different file names. To overcome this problem, I have decided to do not hardcode the filenames, rather parse
DASHPlaylist.mpd
file to get all available qualities of audio and video. This also makes us avoid the iteration over qualities and checking for all of them.