-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (38 loc) · 1.67 KB
/
Copy path.env.example
File metadata and controls
43 lines (38 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# ──────────────────────────────
# Pandora API Environment Example
# Copy this file to `.env` and fill in your own values
# ──────────────────────────────
# Base URL of Pandora (usually fixed)
PANDORA_BASE_URL=https://www.pandora.com
# ──────────────────────────────
# How to Get Your Pandora Session Tokens
#
# 1. Go to https://www.pandora.com/browse
# 2. If Pandora isn't available in your region,
# use a VPN and connect to a United States server, then refresh the page.
# 3. Open your browser’s Developer Tools (F12 or Ctrl+Shift+I).
# 4. Go to the "Network" tab.
# 5. Search for any song, artist, or album using Pandora’s search bar.
# 6. Find a POST request related to "search" and click it.
# 7. In the "Headers" section, look under "Request Headers" for:
# • Cookie
# • X-AuthToken
# • X-CsrfToken
# 8. Copy their values and paste them below.
#
# These three values (Cookie, X-AuthToken, and X-CsrfToken)
# are REQUIRED for any metadata or details/info requests,
# such as:
# - Song details
# - Album details
# - Artist information
# - Playlist data
# - Suggestions and related content
# ──────────────────────────────
# CSRF token from the 'X-CsrfToken' header
PANDORA_CSRF_TOKEN=your-pandora-csrf-token
# Auth token from the 'X-AuthToken' header
PANDORA_AUTH_TOKEN=your-pandora-auth-token
# Full session cookie string from the 'Cookie' header
# Example: "at=...; XSRF-TOKEN=...; ..."
PANDORA_COOKIE=your-pandora-cookie