Simplify the code to only add python/generated/available_videos.json if it was changed by python/scripts/fetch_videos_data.py.
For an unknown reason, the first time it launches it will replace the whole file's content, but subsequent launches will only add the missing new videos.
Simplify the code to only add
python/generated/available_videos.json
if it was changed bypython/scripts/fetch_videos_data.py
.For an unknown reason, the first time it launches it will replace the whole file's content, but subsequent launches will only add the missing new videos.