Comments (1)
D:\Program Files\icourse>icourse-downloader.exe https://www.icourse163.org/learn/SDU-1001907001?tid=1003113029
panic: runtime error: index out of range [0] with length 0
goroutine 1 [running]:
icourse/parser.GetCsrfKey(...)
/home/runner/work/icourse-downloader/icourse-downloader/parser/icourse163.go:163
icourse/parser.parseIcourse163VideoFile(0xc0003020f3, 0xa, 0x0, 0x0, 0xc0004e83c0, 0x1)
/home/runner/work/icourse-downloader/icourse-downloader/parser/icourse163.go:110 +0x53d
icourse/parser.parseIcourse163Video(0xc0003020f3, 0xa, 0x0, 0x0, 0x1, 0x1, 0xa)
/home/runner/work/icourse-downloader/icourse-downloader/parser/icourse163.go:120 +0x54
icourse/parser.ExtractIcourse163Res(0xc000300000, 0x3a8bb, 0x0, 0x0, 0xc0003f4000, 0x1, 0xa, 0x6, 0x0, 0x0, ...)
/home/runner/work/icourse-downloader/icourse-downloader/parser/icourse163.go:55 +0x381
icourse/parser.DownloadIcourse163(0xc000010200, 0x3e, 0x71d4b0, 0x3, 0x0, 0x0, 0x3)
/home/runner/work/icourse-downloader/icourse-downloader/parser/icourse163.go:178 +0x15d
main.download(0xc000010200, 0x3e, 0xc000010200)
/home/runner/work/icourse-downloader/icourse-downloader/main.go:37 +0x215
main.main()
/home/runner/work/icourse-downloader/icourse-downloader/main.go:70 +0x122
from icourse-downloader.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icourse-downloader.