1 from django.conf.urls import url
2 from django.urls import path
6 url(r'^publish/(\d+)/$', views.publish, name="youtube_publish"),
7 url(r'^convert/(\d+)/$', views.publish, {'publish': False}, name="youtube_convert"),
8 path('thumbnail/<int:aid>/', views.thumbnail, name='youtube_thumbnail'),