Giter Site home page Giter Site logo

ll5689 / acloud-dl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from r0oth3x49/acloud-dl

0.0 0.0 0.0 36 KB

A cross-platform python based utility to download courses from acloud.guru for personal offline use.

License: MIT License

Python 100.00%

acloud-dl's Introduction

GitHub release GitHub stars GitHub forks GitHub issues GitHub license

acloud-dl

A cross-platform python based utility to download courses from acloud.guru for personal offline use.

Capture.png

Features

  • Resume capability for a course video.
  • List down course contents and video resolution, suggest the best resolution (option: -i / --info).
  • Download lecture(s) requested resolution (option: -q / --quality).
  • Download course to user requested path (option: -o / --output).
  • Authentication using cookies (option: -c / --cookies).

Extracting Cookies

  • Login to your acloud.guru account via browser.
  • Once you are logged in right click on page the search for option called Inspect Element and click on that.
  • Under that look for Network Tab and click on that. Under that Network Tab click on Requests type XHR .
  • Now click on Browse Courses in the acloud.guru navbar, then scroll down and click Amazon Web Service (or Microsoft Azure, Google Cloud Platform, Linux), refresh the page you will see some requests under Network Tab.
  • Right click on any of the Requests which links to acloud.guru. Simply copy Request Headers, view Source, and save to text file.
  • Done run the acloud-dl against that text file it will start downloading the course.

Requirements

  • Python (2 or 3)
  • Python pip
  • Python module requests
  • Python module colorama
  • Python module unidecode
  • Python module six
  • Python module requests[security] or pyOpenSSL

Module Installation

pip install -r requirements.txt

Tested on

  • Windows 7/8/8.1/10
  • Kali linux (2017.2)
  • Ubuntu-LTS (64-bit) (tested with super user)
  • Mac OSX 10.9.5 (tested with super user)

Download acloud-dl

You can download the latest version of acloud-dl by cloning the GitHub repository.

git clone https://github.com/r0oth3x49/acloud-dl.git

Usage

Steps before running acloud-dl.py which will list down courses you started

  • Login to your acloud.guru account via browser.
  • Click on Browse Courses.
  • Move mouse to the course you want to download.
  • On mouseover you will see a button "GET" click on that.
  • It Will redirect to the course there is another button "START THIS COURSE" click on that.
  • Done, Now you can use the below usage.

Download a course

python acloud-dl.py -c file_containing_cookie.txt

Download course with specific resolution

python acloud-dl.py -c file_containing_cookie.txt -q 720

Download course to a specific location

python acloud-dl.py -c file_containing_cookie.txt -o "/path/to/directory/"

Download course with specific resolution to a specific location

python acloud-dl.py -c file_containing_cookie.txt -q 720 -o "/path/to/directory/"

List down course information

python acloud-dl.py -c file_containing_cookie.txt --info

Advanced Usage


Author: Nasir khan (r0ot h3x49)

usage: acloud-dl.py [-h] [-v] [-c] [-o] [-q] [-i]

A cross-platform python based utility to download courses from acloud.guru for
personal offline use.

General:
  -h, --help       Shows the help.
  -v, --version    Shows the version.

Authentication:
  -c , --cookies   Cookies to authenticate with.

Advance:
  -o , --output    Download to specific directory.
  -q , --quality   Download specific video quality.
  -i, --info       List all lectures with available resolution.

Example:
  python acloud-dl.py -c cookies.txt

acloud-dl's People

Contributors

r0oth3x49 avatar 4562448 avatar

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.