(solution here) It seems the script is not working for certain videos. The field "extended_entities" is missing from the legacy field, which prevents getting the video url. I made this workaround to get the extended_entities from another field:
Before (line 143):
let medias = tweet.extended_entities && tweet.extended_entities.media;
if (index) medias = [medias[index - 1]];
QUESTION: Does this fix the extension not being able to download multiple videos? It seems bugged and it takes a really long time to download twitter posts more than 1 video.
(solution here) It seems the script is not working for certain videos. The field "extended_entities" is missing from the legacy field, which prevents getting the video url. I made this workaround to get the extended_entities from another field:
Before (line 143):
After: