Update yt_utils.py
Browse files- yt_utils.py +1 -1
yt_utils.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import requests
|
| 2 |
|
| 3 |
-
def
|
| 4 |
|
| 5 |
if device_name is None and playlist_id is None:
|
| 6 |
raise Exception("Must specify either device_name or playlist_id")
|
|
|
|
| 1 |
import requests
|
| 2 |
|
| 3 |
+
def get_latest_video_id(channel_id, device_name=None, playlist_id=None):
|
| 4 |
|
| 5 |
if device_name is None and playlist_id is None:
|
| 6 |
raise Exception("Must specify either device_name or playlist_id")
|