niqdev / packtpub-crawler

Download your daily free Packt Publishing eBook https://www.packtpub.com/packt/offers/free-learning
MIT License
755 stars 178 forks source link

video #53

Closed jaan143 closed 7 years ago

jaan143 commented 7 years ago

hi i want to download video course from packtpub can you plz add this option also ? thanks

juzim commented 7 years ago

Hi!

Can you point me to a free video on packtpub? Just to be sure: this script only claims freely available content in promotions, it will not give you access to normal books or videos for free.

jaan143 commented 7 years ago

packt publisher allow video courses on their mapt subscription they allow to watch online only. cant download so you can make downloading script in python that will download course after giving login details and course url

lucymhdavies commented 7 years ago
  1. sounds out of scope of this tool
  2. sounds against Packt ToS. if they wanted you to be able to download the videos, they would have made it easier to do so
niqdev commented 7 years ago

This maybe help you https://github.com/soimort/you-get

niqdev commented 7 years ago

If it works, can you please share a request example? Thanks

juzim commented 7 years ago

I haven't bought any videos but this looks like video downloads are possible: https://www.packtpub.com/books/content/support-video

How to download video packages for offline viewing Login to your account at Packtpub.com. Click on "My Account" and then click on the "My Videos" tab to access your videos. Click on the "Download Now" link to start your video download.

I also think this has nothing to do with this script and can easily be solved by picking the file URL from the DOM or using a tool like you-get. If the file URL is not in the DOM but loaded dynamically, there is no way for us to download the file anyways.

Here are a few suggestion on how to find the video file URL: https://www.quora.com/How-can-I-scrape-videos-from-websites

jaan143 commented 7 years ago

hi i checked supported site lists of this app https://github.com/soimort/you-get

they dont have packtpub in their list

juzim commented 7 years ago

So? I really don't think we can help you here. Why don't you ask packtpub for help?

jaan143 notifications@github.com schrieb am Fr., 17. Feb. 2017, 15:09:

hi i checked supported site lists of this app https://github.com/soimort/you-get

they dont have packtpub in their list

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/niqdev/packtpub-crawler/issues/53#issuecomment-280659172, or mute the thread https://github.com/notifications/unsubscribe-auth/AEmPPE2i7H7n3V3lvD6pVWdKmYDGs9e1ks5rdao3gaJpZM4MDBd0 .

niqdev commented 7 years ago

@jaan143 to be able to use you-get I'm expecting that you look manually for the video url in the DOM and if supported somehow by the library you may need to add some extra header to handle the authentication

niqdev commented 7 years ago

By the way, I'm not saying that what I suggested is the right tool for your needs, but you should have a look at something similar or fork that repo

niqdev commented 7 years ago

The downloading of video is out of scope of this project.