Skip to content

Commit

Permalink
fix: initialize.js -> initialize.json
Browse files Browse the repository at this point in the history
  • Loading branch information
loiccoyle committed Sep 18, 2023
1 parent bf74d06 commit a5e92ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prowlet
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ join_by() {

fetch_apikey() {
# Fetches the Prowlarr api key
curl "$PROWLARR_URL/initialize.js" -s | grep -oP "apiKey:\s*'\K[^']*"
curl "$PROWLARR_URL/initialize.json" -s | grep -oP '"apiKey":\s*"\K[^"]*'
}

fetch_indexers() {
Expand Down

0 comments on commit a5e92ca

Please sign in to comment.