SMAPPNYU / youtube-data-api

A Python Client for collect and parse public data from the Youtube Data API
https://youtube-data-api.readthedocs.io/en/latest/index.html
MIT License
79 stars 31 forks source link

`strip_video_id_from_url` doesn't trim time delimiters #6

Closed mabrownnyu closed 5 years ago

mabrownnyu commented 6 years ago

Ex: 'https://youtube.com/8qi8ixn6-Vo#t=1397' returns '8qi8ixn6-Vo#t=1397'

yinleon commented 6 years ago

Ok we can split on '#', and take the first element

mabrownnyu commented 6 years ago

👍 will you do that or should I?