Fix formatURL and parseMediaLink for google drive