Giter Site home page Giter Site logo

skillshare-dl's Introduction

skillshare-dl's People

Contributors

04anubhavv avatar k4anubhav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

skillshare-dl's Issues

Failed to read Video ID from data

Hello, I've used this few months ago worked fine back then but now after downloading course preview it gives error "Failed to read Video ID from data"
Any solution?
image

TypeError

Hi,
I'm getting following error for recent courses (Using Python 3.9 and not effecting old courses):

E:_Skillshare>python downloader.py
@k4anubhav (ใ€‚_ใ€‚)
Enter class url:: https://www.skillshare.com/classes/Lighitng-for-Games-101-Fundamentals-of-Lighting-in-UE4-Part-2-Lighting-Blueprints-Office/825192496?via=search-layout-grid
Do you want to download subtitle (y/n): y
Do you want to download resources (y/n): y
ClassName : Lighitng for Games 101 : Fundamentals of Lighting in UE4 _ Part 2 + Lighting Blueprints Office
Traceback (most recent call last):
File "E:_Skillshare\downloader.py", line 26, in
dl.download_course_by_url(url, boolSubtitle, boolResources)
File "E:_Skillshare\skillshare.py", line 38, in download_course_by_url
self.download_course_by_class_id(class_id, boolSubtitle, boolResources)
File "E:_Skillshare\skillshare.py", line 98, in download_course_by_class_id
for u in data['_embedded']['units']['_embedded']['units']:
TypeError: list indices must be integers or slices, not str

Any ideas to resolve this issue? Thank you.

Not downloading subtitles for bigger videos

I have noticed that some subtitles are not being downloaded, and those are always for the larger videos of each course. For example, for the video 10 from 1616049208 i get this error:

int() argument must be a string, a bytes-like object or a number, not 'NoneType'
Error on subtitle download, Maybe there is no subs in video lecture

All other subtitles for this course are downloading fine

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.