diff options
author | Thanos Apollo <[email protected]> | 2023-09-28 14:52:45 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-09-28 14:52:45 +0300 |
commit | 4ce6455ae574d66bba9d31ca838f57d883285c75 (patch) | |
tree | 36d79f8bf95f3d2133efda4bd3a1af436ab4e35c | |
parent | 9b606a113af2a8fca1741de69014176e6a028c86 (diff) |
[fix] yeetube-get-url get full url, not just videoid
Previously this command would just return videoid, now it returns full
video url. Fixing issues with yeetube-download functions.
-rw-r--r-- | yeetube.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -129,7 +129,8 @@ Example Usage: (defun yeetube-get-url () "Get url for subject in *yeetube* buffer at point." - (let ((video-url (cadr (nth (- (line-number-at-pos) 1) (reverse yeetube-content))))) + (let ((video-url (concat "https://youtube.com/watch?v=" + (cadr (nth (- (line-number-at-pos) 1) (reverse yeetube-content)))))) video-url)) (defun yeetube-play () |