Solved openssl error, but no output at all right now so it's hard to tell if the script works
This commit is contained in:
1
.cache
Normal file
1
.cache
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"access_token": "BQC64RdeRNfYijXfatJ048WmZrdMhXtsnIWw2i6ER3xIfrDG6Hfa9g_soJejrurk97aXbMF9Wq6TZraGU6EzGTt7-zsFAXVT6fZ-sIxRKN_2-x8FLmEBYjxbRRmczP8AVU494cnsDMUaAk6JG3rmmEIh1W2xYb2fIje-aAnHxMEX-iz4vb0duCHOfiy7pFl73wP4mQA7TVcNbjL6a_LGmKtFhJ6zK7Hz_7yLKa9EQAPrZ_rJW_Utansh3tt0jWNc1360gMZHXQ", "token_type": "Bearer", "expires_in": 3600, "refresh_token": "AQDzbnQ-vBzwkvSnw4KctHbMzW_5Bq2MrgqFOgVsRIyh3VUcu88VkejRqMYZ1xdTSmJmDTF_Ak9Db9LLWEiwxj_9DvoHz3hEgulCZYvVIwGPxi3S6-NoIps_waooXfvn3P4", "scope": "playlist-modify-private user-library-read", "expires_at": 1765114882}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# Spotify liked playlist downloader
|
# Spotify liked playlist downloader
|
||||||
|
|
||||||
- [X] Working SpotifyAPI with ngrok+HTTPS
|
- [X] Working SpotifyAPI with ngrok+HTTPS
|
||||||
- [ ] Fix this in the openssl call:
|
- [X] Fix this in the openssl call:
|
||||||
/nix/store/dzz1xf4nxx8v42pz5sxxx62r0jjpl0qf-craftcerts-script: line 5: 2: command not found
|
/nix/store/dzz1xf4nxx8v42pz5sxxx62r0jjpl0qf-craftcerts-script: line 5: 2: command not found
|
||||||
req: Extra option: "1"
|
req: Extra option: "1"
|
||||||
req: Use -help for summary.
|
req: Use -help for summary.
|
||||||
|
|||||||
1
access_token.txt
Normal file
1
access_token.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
BQC64RdeRNfYijXfatJ048WmZrdMhXtsnIWw2i6ER3xIfrDG6Hfa9g_soJejrurk97aXbMF9Wq6TZraGU6EzGTt7-zsFAXVT6fZ-sIxRKN_2-x8FLmEBYjxbRRmczP8AVU494cnsDMUaAk6JG3rmmEIh1W2xYb2fIje-aAnHxMEX-iz4vb0duCHOfiy7pFl73wP4mQA7TVcNbjL6a_LGmKtFhJ6zK7Hz_7yLKa9EQAPrZ_rJW_Utansh3tt0jWNc1360gMZHXQ
|
||||||
@@ -8,8 +8,8 @@
|
|||||||
mkdir -p ssl # Use -p to avoid error if the directory exists
|
mkdir -p ssl # Use -p to avoid error if the directory exists
|
||||||
cd ssl
|
cd ssl
|
||||||
if [ ! -f ./openssl.cnf ]; then
|
if [ ! -f ./openssl.cnf ]; then
|
||||||
echo "Creating openssl..."
|
echo "Creating certificates..."
|
||||||
openssl req -x509 -newkey rsa:2048 -keyout server.key -out server.cert -days 365 -nodes -config ../openssl.cnf 1&2 > /dev/null
|
openssl req -x509 -newkey rsa:2048 -keyout server.key -out server.cert -days 365 -nodes -config ../openssl.cnf > /dev/null 2>/dev/null
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user