Giter Site home page Giter Site logo

cisco_live_downloader's Introduction

Cisco Live Downloader

About

cisco_live_downloader is a script that logs into your Cisco Live 365 account and downloads all of the mp4 and pdf files from any sessions you have marked under your 'interests'. By default, only the latest Cisco Live event - Cisco Live 2015 San Diego - will be downloaded. This is configurable through the command line by using the '-e' or '--event' parameter.

Uses multiple threads to download mp4/pdfs concurrently. By default 20 threads will be spawned, meaning 20 downloads will be kicked off at the time time. The number of threads is also configurable by using the '-c' or '--concurrent' parameter.

The downloads are efficient, by chunking the downloaded files every 1024MB and writing to disk. None of the previously downloaded chunks are kept in memory - similar to a web browser download.

Requires two third party libraries - BeautifulSoup and requests.

pip install BeautifulSoup

pip install requests

For efficiency, the script checks the configured directorty (current directorty by default) for any existing .mp4s that have already been downloaded. This is to prevent having to re-download a file that has been downloaded during a previous execution of the script. If for example you ran the script, but added more sessions under your 'interests'.

Installation

Prerequisites

You need:

Usage

Note: For Windows users - please use doble "\\" as path separators:

python cisco_live_downloader.py -u username -p password -e "2015 San Diego" -d "C:\\users\\admin\\cisco_live\\"

Or just use "/"

python cisco_live_downloader.py -u username -p password -e "2015 San Diego" -d C:/users/admin/cisco_live/

python cisco_live_downloader.py --username admin -password pass

python cisco_live_downloader.py -u admin -p password -d /root/Downloads/ -c 8

Here are some examples of the nomenclature used in past Cisco Live events:

2015 Milan

2014 San Francisco

2013 Orlando

cisco_live_downloader's People

Contributors

hincoin avatar plucena24 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cisco_live_downloader's Issues

Enhance concurrency.

Enhance concurrency - fork out chunks of multiple threads to different python processes, such that multiple cores are used at the time time, yet still use threading as this is an I/O bound program.

Enhance detection of existing files.

Enhance detection of existing files on the directory specified. Currently if a file with the same name as a video in the interests is detected, the download is skipped such that its no re-downloaded. However, the video will be skipped even if what exist on the directory is a partial download - if for example the connection was lost on a previous execution.

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.