Tweaked code detection for video type and updated Requests