riazXrazor / udemy-dl

Nodejs script to download a udemy.com course, for personal offline use
285 stars 68 forks source link

Issue while downloading #13

Closed shahsatish closed 6 years ago

shahsatish commented 6 years ago

@riazXrazor , This is the error i get.

Logging in, please wait... /usr/local/lib/node_modules/udemy-dl/lib/core.js:50 cb(r,b.match(/name='csrfmiddlewaretoken'\s+value='(.*)'/)[1]); ^

TypeError: Cannot read property '1' of null at Request._callback (/usr/local/lib/node_modules/udemy-dl/lib/core.js:50:64) at Request.self.callback (/usr/local/lib/node_modules/udemy-dl/node_modules/request/request.js:186:22) at Request.emit (events.js:159:13) at Request. (/usr/local/lib/node_modules/udemy-dl/node_modules/request/request.js:1163:10) at Request.emit (events.js:159:13) at IncomingMessage. (/usr/local/lib/node_modules/udemy-dl/node_modules/request/request.js:1085:12) at Object.onceWrapper (events.js:254:19) at IncomingMessage.emit (events.js:164:20) at endReadableNT (_stream_readable.js:1054:12) at _combinedTickCallback (internal/process/next_tick.js:138:11)

Thanks Satish

riazXrazor commented 6 years ago

Plz update this issue has been fixed

On Mon 27 Nov, 2017, 1:42 PM shahsatish, notifications@github.com wrote:

@riazXrazor https://github.com/riazxrazor , This is the error i get.

Logging in, please wait... /usr/local/lib/node_modules/udemy-dl/lib/core.js:50 cb(r,b.match(/name='csrfmiddlewaretoken'\s+value='(.*)'/)[1]); ^

TypeError: Cannot read property '1' of null at Request._callback (/usr/local/lib/node_modules/udemy-dl/lib/core.js:50:64) at Request.self.callback (/usr/local/lib/node_modules/udemy-dl/node_modules/request/request.js:186:22) at Request.emit (events.js:159:13) at Request. (/usr/local/lib/node_modules/udemy-dl/node_modules/request/request.js:1163:10) at Request.emit (events.js:159:13) at IncomingMessage. (/usr/local/lib/node_modules/udemy-dl/node_modules/request/request.js:1085:12) at Object.onceWrapper (events.js:254:19) at IncomingMessage.emit (events.js:164:20) at endReadableNT (_stream_readable.js:1054:12) at _combinedTickCallback (internal/process/next_tick.js:138:11)

Thanks Satish

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/riazXrazor/udemy-dl/issues/13, or mute the thread https://github.com/notifications/unsubscribe-auth/AMlUe2DMh9we2Ss_Y2MEMeFnJWeK0bVnks5s6m76gaJpZM4QrQk7 .

shahsatish commented 6 years ago

@riazXrazor , How do i update the package?

riazXrazor commented 6 years ago

Jst uninstall n install the package again.

On Mon 27 Nov, 2017, 1:55 PM shahsatish, notifications@github.com wrote:

@riazXrazor https://github.com/riazxrazor , How do i update the package?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/riazXrazor/udemy-dl/issues/13#issuecomment-347109752, or mute the thread https://github.com/notifications/unsubscribe-auth/AMlUe3Piv-9LX2qCpbHC86JSF4CuyqtWks5s6nH2gaJpZM4QrQk7 .