J3Patel / linkedin-learning-video-downloader

LinkedIn video learning video downloader July 2019
https://teenenggr.com/2019/07/21/linkedin-learning-video-downloader/
127 stars 60 forks source link

How to insert url what start with /paths/ and url that have "/" inside it #8

Open NenadDragic opened 4 years ago

NenadDragic commented 4 years ago

Hi,

Do someone have a solution on how to insert into config.py where the URL is like: https://www.linkedin.com/learning/paths/become-an-ethical-hacker og where the url is like: https://www.linkedin.com/learning/c-sharp-essential-training-1-syntax-and-object-oriented-programming/using-the-exercise-files

I can't make it work where the url contains "/paths/" or where there is an "/" in the URL.

Thanks, Nenad

J3Patel commented 3 years ago

@NenadDragic Adding it like this worked for me COURSES = [ 'c-sharp-essential-training-1-syntax-and-object-oriented-programming' ]

will check on paths/become-an-ethical-hacker

dfgind commented 3 years ago

Hello,

In my case I have the following Problem:

ImportError: cannot import name 'COLLECTIONS' from 'config'

Thanks Diego

J3Patel commented 3 years ago

Make sure your config file is correct, send me here

On Tue, Feb 2, 2021 at 12:46 AM dfgind notifications@github.com wrote:

Hello,

In my case I have the following Problem:

ImportError: cannot import name 'COLLECTIONS' from 'config'

Thanks Diego

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/J3Patel/linkedin-learning-video-downloader/issues/8#issuecomment-771092840, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6QOQWG225VKRF4AF4GWY3S434YRANCNFSM4LWQQH7A .

dfgind commented 3 years ago

Hello,

Thanks for your reply This the code, attached also the file:

import os

EDIT

USERNAME = 'dfgind@gmail.com' PASSWORD = 'xxxxxxxx' COURSES = [ 'grundlagen-der-programmierung-basiswissen' ]

EDIT IF YOU NEED TO

BASE_DOWNLOAD_PATH = os.path.join(os.path.dirname(file), "downloads") USE_PROXY = False PROXY = "http://127.0.0.1:8888" if USE_PROXY else None


Thanks a lot

Am Di., 2. Feb. 2021 um 04:33 Uhr schrieb Jatin Patel < notifications@github.com>:

Make sure your config file is correct, send me here

On Tue, Feb 2, 2021 at 12:46 AM dfgind notifications@github.com wrote:

Hello,

In my case I have the following Problem:

ImportError: cannot import name 'COLLECTIONS' from 'config'

Thanks Diego

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/J3Patel/linkedin-learning-video-downloader/issues/8#issuecomment-771092840 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AC6QOQWG225VKRF4AF4GWY3S434YRANCNFSM4LWQQH7A

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/J3Patel/linkedin-learning-video-downloader/issues/8#issuecomment-771329403, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDANXNTZN5MFRG3O23DVCLS45XBFANCNFSM4LWQQH7A .

Learnpython-code commented 3 years ago

Hello there, I am newbie, How to fix this problem, I need to use Cookie-based authentication