I hereby claim:
- I am silentsokolov on github.
- I am silentsokolov (https://keybase.io/silentsokolov) on keybase.
- I have a public key ASCycoiBDSyfTckIfn8ncCk7q225zKJuiU8_bkSFoaHZlwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
"tab_size": 4, | |
"translate_tabs_to_spaces": false, | |
} |
I hereby claim:
To claim this, I am signing this object:
# Get youtube id | |
#http://youtu.be/5Y6HSHwhVlY | |
#http://www.youtube.com/embed/5Y6HSHwhVlY?rel=0 | |
#http://www.youtube.com/watch?v=ZFqlHhCNBOI | |
regex = re.compile(r'(https?://)?(www\.)?(youtube|youtu|youtube-nocookie)\.(com|be)/(watch\?v=|embed/|v/|.+\?v=)?(?P<id>[A-Za-z0-9\-=_]{11})') | |
match = regex.match(self.youtube_url) |