As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
import re | |
# List of format available on Youtube | |
YOUTUBE_CHOICES = ("default", "hqdefault", "0", "1", "2") | |
# Default image if no thumbnail is found | |
NO_PREVIEW = "/static/img/no_preview.png" | |
def get_video_thumbnail(url, version="hqdefault"): |