For anyone wondering how is this possible I've made a quick research and the method is in the description part of this youtube video:
https://www.youtube.com/watch?v=ufq2Eb78kSUIn short, Youtube API's resume upload function can be abused to achieve this.