From 9d9d747b72da49bf2be02b50f45ab26841ec37bd Mon Sep 17 00:00:00 2001 From: Dan Herd <659658+danherd@users.noreply.github.com> Date: Fri, 20 Aug 2021 08:56:06 +0100 Subject: [PATCH] Fix error in docs --- docs/source/setup.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/setup.rst b/docs/source/setup.rst index 9a02daf..44a4a33 100644 --- a/docs/source/setup.rst +++ b/docs/source/setup.rst @@ -58,14 +58,14 @@ To set up your project, open a Python console and call :py:func:`YTMusic.setup` .. code-block:: python from ytmusicapi import YTMusic - YTMusic.setup(filepath=headers_auth.json) + YTMusic.setup(filepath="headers_auth.json") If you don't want terminal interaction in your project, you can pass the request headers with the ``headers_raw`` parameter: .. code-block:: python from ytmusicapi import YTMusic - YTMusic.setup(filepath=headers_auth.json, headers_raw="") + YTMusic.setup(filepath="headers_auth.json", headers_raw="") The function returns a JSON string with the credentials needed for :doc:`Usage `. Alternatively, if you passed the filepath parameter as described above, a file called ``headers_auth.json`` will be created in the current directory, which you can pass to ``YTMusic()`` for authentication.