Skip to content

No video URL found because of the wrong x-li-identity #134

@jizusun

Description

@jizusun

the wrong x-li-identityis the one I get using View Page Source https://github.com/knowbee/llvd?tab=readme-ov-file#setup-header-based

&quot;:&quot;<redacted>MTk1Nik&#61;&quot;,&quot;

the correct value should be in the headers.txt

- x-li-identity=<redacted>MTU2NDI0NjQ5LDIxNzM4MTk1Nik&#61;
+ x-li-identity=<redacted>MTU2NDI0NjQ5LDIxNzM4MTk1Nik=

We‘d better get it using developer tools, by inspecting one of the HTTP request headers.

If I use the wrong x-li-identity, I can only get the first 2 videos (see below)

llvd -c "piano-lessons-1-fundamentals"  --cookies --headers --caption
Using cookie info from cookies.txt
Initializing course download...

Course: Piano Lessons: 1 Fundamentals
Chapters: 6
--------------------------------------------------

Current: 01. 1. Introduction/01. Welcome.mp4 @720p
✓ Welcome already exists
Downloading subtitles..

Current: 02. 2. Getting Started/01. How to learn a song.mp4 @720p
✓ How to learn a song already exists
Downloading subtitles..
..................

✓ Download completed


================================================================================
+-----------------------------------------------------------------+------------+
| DOWNLOAD SUMMARY                                                |            |
| ------------------------------                                  | ---------- |
|                                                                 |            |
| VIDEOS                                                          |            |
|   • Total                                                       |         20 |
|   • Downloaded                                                  |          2 |
|   • Already existed                                             |          0 |
|   • Skipped                                                     |          0 |
|   • Failed                                                      |         18 |
|                                                                 |            |
| CHAPTERS                                                        |            |
|   • Total                                                       |          6 |
|   • Empty                                                       |          0 |
|   • Deleted                                                     |          0 |
|                                                                 |            |
| ERRORS                                                          |            |
|   1. Error processing 'How to practice': No video URL found     |            |
|   2. Error processing 'Posture': No video URL found             |            |
|   3. Error processing '15 things to know to play music Part 1': |            |
| No video URL found                                              |            |
|   4. Error processing '15 things to know to play music Part 2': |            |
| No video URL found                                              |            |
|   5. Error processing '15 things to know to play music Part 3': |            |
| No video URL found                                              |            |
|   ... and 13 more errors                                        |            |
+-----------------------------------------------------------------+------------+
================================================================================


⚠️  Download completed with errors!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions