iamkroot / ilc-scraper

A scraper for Impartus Lecture Capture videos for BITS Hyderabad
67 stars 30 forks source link

Downloading videos from Impartus Platform #10

Closed shaksham95 closed 4 years ago

shaksham95 commented 4 years ago

Hey @iamkroot ,

I was wondering if it's possible to download videos from Impartus directly.

I tried doing this, but it failed since it assumes that the URL is of the format "172.16.3.20/....." which is applicable for on-campus students. Is it possible to download the videos from off-campus? It would be a big help if you can provide some pointers

Thanks Shaksham

iamkroot commented 4 years ago

It works already. Example: http://a.impartus.com/...

On Sat, Mar 28, 2020, 5:12 PM Shaksham Kapoor notifications@github.com wrote:

Hey @iamkroot https://github.com/iamkroot ,

I was wondering if it's possible to download videos from Impartus http://a.impartus.com/ directly.

I tried doing this, but it failed since it assumes that the URL is of the format "172.16.3.20/....." which is applicable for on-campus students. Is it possible to download the videos from off-campus? It would be a big help if you can provide some pointers

Thanks Shaksham

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iamkroot/ilc-scraper/issues/10, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBGJ6IJTWFO5GDYP5BID5TRJXPDTANCNFSM4LVRLQIA .

shaksham95 commented 4 years ago

It isn't working for me. I am trying to download a video from Impartus and it's giving the following error:

image

I have downloaded the exe file for windows which is published under the "Releases". The URL that I am trying to retrieve is http://a.impartus.com/ilc/#/video/id/1840519

I would really appreciate it if you can provide an example of how can I download the video.

Thanks

iamkroot commented 4 years ago

You're supposed to specify the link to the course, not to a specific video.

Eg: http://a.impartus.com/ilc/#/course/75233/691

shaksham95 commented 4 years ago

Hey,

So after passing the URL (as you mentioned) to the scrapper, I am getting the following error:-

image

iamkroot commented 4 years ago

Update.

shaksham95 commented 4 years ago

Hey @iamkroot ,

I have tried using the updated scrapper (version 0.6.2 and 0.6.1) but the error is still the same as shown in the screenshot above. Anything that I might be missing?

iamkroot commented 4 years ago

course url?

shaksham95 commented 4 years ago

Course URL: https://a.impartus.com/ilc/#/course/160200/706

iamkroot commented 4 years ago

Are you sure you have the right url? I don't see anything when I open that link, just a blank page.

On Sat, Apr 4, 2020, 5:45 PM Shaksham Kapoor notifications@github.com wrote:

Course URL: https://a.impartus.com/ilc/#/course/160200/706

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iamkroot/ilc-scraper/issues/10#issuecomment-609019835, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBGJ6NJGQTFCLLNDOFI7KDRK4QGRANCNFSM4LVRLQIA .

shaksham95 commented 4 years ago

Yes, attaching a screenshot of the URL page:

image

iamkroot commented 4 years ago

Must be cuz you're from Pilani. Well, I can't find the reason for the bug since I don't have access to the data.

On Sat, Apr 4, 2020, 6:02 PM Shaksham Kapoor notifications@github.com wrote:

Yes, attaching a screenshot of the URL page:

[image: image] https://user-images.githubusercontent.com/7498849/78450750-764eaf80-769e-11ea-9674-ade63200b536.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iamkroot/ilc-scraper/issues/10#issuecomment-609021979, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBGJ6PJHFXUAPZXWW66NALRK4SHHANCNFSM4LVRLQIA .

shaksham95 commented 4 years ago

Is the software dependent on the BITS campus? It considers the course URL, then ideally it should download the content.

It looks like the code is not be able to access the course page; that's why no videos are coming in the list resulting in NoneType error.

sundrb commented 4 years ago

Hey,

So after passing the URL (as you mentioned) to the scrapper, I am getting the following error:-

image

I have the same issue... What needs to be done to rectify?

shaksham95 commented 4 years ago

@sundrb There is no workaround for this issue.