Skip to content

Commit 99008a3

Browse files
authored
Revise course link and authentication extraction steps
Updated steps for extracting course link and authentication data in ENV_SETUP.md.
1 parent 3b10194 commit 99008a3

1 file changed

Lines changed: 12 additions & 33 deletions

File tree

ENV_SETUP.md

Lines changed: 12 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,13 @@ cp .env.example .env
3838

3939
Or manually create a `.env` file and copy the contents from `.env.example`.
4040

41-
### **Step 2: Get Course Link**
42-
43-
1. **Log into your course platform** (the Thinkific-based site)
44-
2. **Navigate to the course** you want to download
45-
3. **Copy the full URL** from your browser's address bar
46-
4. **Add it to your .env file:**
47-
```env
48-
COURSE_LINK=https://your-course-platform.com/courses/your-course-name
49-
```
50-
51-
### **Step 3: Extract Authentication Data**
41+
### **Step 2: Extract Authentication Data**
5242

5343
This is the most important step. You need to capture authentication cookies and timestamp.
5444

5545
**📺 Visual Reference:** While the [video guide](https://youtu.be/owi-cOcpceI?t=60) shows similar concepts, **follow these exact steps below** for Thinkific-based platforms.
5646

57-
#### **3.1 Open Developer Tools**
47+
#### **2.1 Open Developer Tools**
5848

5949
**For Chrome/Edge:**
6050
- Press `F12` OR
@@ -70,19 +60,19 @@ This is the most important step. You need to capture authentication cookies and
7060
- Enable Developer menu first: Safari → Preferences → Advanced → "Show Develop menu"
7161
- Then: Develop → Show Web Inspector
7262

73-
#### **3.2 Access Network Tab**
63+
#### **2.2 Access Network Tab**
7464

7565
1. **Click on the "Network" tab** in Developer Tools
7666
2. **Make sure "All" or "XHR" filter is selected**
7767
3. **Clear any existing logs** (click the clear button 🗑️)
7868

79-
#### **3.3 Trigger Course Data Request**
69+
#### **2.3 Trigger Course Data Request**
8070

8171
1. **Refresh the course page** (F5 or Ctrl+R)
8272
2. **OR navigate to any lesson** within the course
8373
3. **Wait for the page to fully load**
8474

85-
#### **3.4 Find the API Request**
75+
#### **2.4 Find the API Request**
8676

8777
1. **In the Network tab, look for a request containing:**
8878
```
@@ -95,7 +85,7 @@ This is the most important step. You need to capture authentication cookies and
9585

9686
3. **Click on this request** to select it
9787

98-
#### **3.5 Extract Cookie Data**
88+
#### **2.5 Extract Cookie Data**
9989

10090
1. **Click on the request** you found
10191
2. **Look for the "Headers" section** (or click "Headers" tab)
@@ -112,42 +102,31 @@ This is the most important step. You need to capture authentication cookies and
112102
- It should be very long (several hundred characters)
113103
- Include all parts separated by semicolons
114104

115-
#### **3.6 Extract Client Date**
105+
#### **2.6 Extract Client Date**
116106

117107
1. **In the same request headers section**
118108
2. **Look for "Response Headers"**
119109
3. **Find the "date:" field**
120110
4. **Copy the date value**
121111

122112
```env
123-
CLIENT_DATE=Wed, 25 Sep 2024 10:30:45 GMT
113+
CLIENT_DATE=25:08:202410:30:45 GMT
124114
```
125115

126116
---
127117

128-
## 🔍 Alternative Method: Raw View
129-
130-
If you're having trouble finding the headers:
131-
132-
1. **Click on the course_player request**
133-
2. **Click "Raw" tab** (if available)
134-
3. **Look for lines starting with:**
135-
- `cookie: ` (copy everything after this)
136-
- `date: ` (copy everything after this)
137-
138-
---
139118

140119
## ✅ Final Environment File
141120

142121
Your `.env` file should look like this:
143122

144123
```env
145124
# Course Configuration
146-
COURSE_LINK=https://your-platform.com/courses/your-course
125+
COURSE_LINK="https://your-platform.com/courses/your-course"
147126
148127
# Authentication (Required)
149-
COOKIE_DATA=_session_id=abcd1234...; user_token=xyz789...; other_cookies=values...
150-
CLIENT_DATE=Wed, 25 Sep 2024 10:30:45 GMT
128+
COOKIE_DATA="_session_id=abcd1234...; user_token=xyz789...; other_cookies=values..."
129+
CLIENT_DATE="25:08:2024-10:30:45GMT"
151130
152131
# Download Settings (Optional)
153132
OUTPUT_DIR=./downloads
@@ -229,4 +208,4 @@ If authentication works, you should see course information being fetched. If not
229208

230209
---
231210

232-
**⚡ Pro Tip:** Bookmark this guide! You'll need to refresh your cookies periodically as they expire.
211+
**⚡ Pro Tip:** Bookmark this guide! You'll need to refresh your cookies periodically as they expire.

0 commit comments

Comments
 (0)