Pretty code

This commit is contained in:
Jesús 2021-01-17 15:28:32 -05:00
parent 15b2ecf652
commit 6d12908ab8
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
3 changed files with 35 additions and 35 deletions

View File

@ -567,8 +567,8 @@ zero exit code otherwise the request body is parsed by `json-read' and returned.
(json-read))))
(defun livie--query (string n)
"Query youtube for STRING, return the Nth page of results."
(let ((results (livie--API-call "search" `(("q" ,string)
"Query youtube for STRING, return the Nth page of results."
(let ((results (livie--API-call "search" `(("q" ,string)
("sort_by" ,(symbol-name livie-sort-criterion))
("type" ,livie-type-of-results)
("page" ,n)