{
"info": {
"author": "Sanketh Mopuru",
"author_email": "sanketh.mopuru@gmail.com",
"bugtrack_url": null,
"classifiers": [],
"description": "Coursera Offline\n================\n\n|PyPi version| |PyPi downloads|\n\nDownload and save the video lectures of your favorite courses for\noffline viewing.\n\nChanges\n=======\n\n- When ``-d`` option is given and the given directory does not exist,\n exiting with error on -S option and creating the directory on -s\n option.\n- Extracting and normalizing the titles of files from urls.\n- Now supports download of excel files.\n- Deprecated -f option in favor of -S\n\nInstallation\n------------\n\n- Make sure you have python version 2.7 installed. If you don't have\n python, get it from\n `here `__\n- If you have python and are not sure of the version, type\n ``python -V`` in the terminal. If it says 2.7.x+ then you may proceed\n to the next instruction. Otherwise, go to the link provided above.\n- Install ``pip`` using ``sudo apt-get install python-pip``. Install\n the application using ``sudo pip install coursera_offline``\n- Before proceeding to the next step, make sure you have ``setuptools``\n module installed. If it isn't, you can find the installation\n instructions\n `here `__.\n- If you don't want to install pip, you can download the tar.gz from\n `PyPi `__\n or zip from\n `Github `__,\n extract the archive file and follow the installation instructions in\n the README.txt file.\n- You may also clone the repo onto your local workstation and follow\n the instructions in the README.txt file\n ``git clone https://github.com/sanketh95/coursera-offline``\n\nFor those behind proxy\n^^^^^^^^^^^^^^^^^^^^^^\n\nYou just need to set ``HTTP_PROXY`` and ``HTTPS_PROXY`` environment\nvariables and python automatically sends all requests through proxy.\nHere's the way to set proxy in windows and linux\n\nWindows\n'''''''\n\nRun ``set HTTP_PROXY=http://user:password@address:port`` and\n``set HTTPS_PROXY=https://user:password@address:port``\n\nLinux\n'''''\n\nRun ``export HTTP_PROXY=http://user:password@address:port`` and\n``export HTTPS_PROXY=https://user:password@address:port``\n\nREQUIRES\n~~~~~~~~\n\n- Python2.7\n- pyquery 1.2.9\n- crontab 1.8.1\n\n**Note:** You need not install the requirements manually, the setup\nscript takes care of installing them for you.\n\nRunning\n-------\n\nWindows\n\n- Open command prompt and change the ``cd`` into the directory\n containing **coursera-offline** and run\n ``python coursera_offline -h``\n\nLinux\n\n- Open terminal and run ``coursera_offline -h``.\n\nFeatures\n--------\n\n- All the videos are downloaded according to the folder structure and\n you don't need to take care of sorting the videos into separate\n folders manually.\n- You need not track the order of the videos/weeks as the script\n intentionally renames them so that the week and video order\n maintained.\n- The downloads are lightning fast as the videos are downloaded\n parallely.\n- The script creates a crontab entry automatically to fetch any newly\n added videos in the course. You can also force synch with Coursera\n just by running a simple command.\n- The script also downloads the subtitles automatically and saves them\n in *Subs* folder. So when you play the videos using VLC, the subs are\n automatically loaded.\n- The script saves a *data.json* file in the course directory. This has\n all the information required to fetch the videos. So even if you lose\n some videos or if you forget the course name, as long as you have the\n *data.json* file, you can always re-download the lost videos.\n- The script saves the session cookies so you don't have to login\n everytime you run it.\n- The script fetches the lecture slides (pdfs and ppts) and saves them\n in 'Other Files' folder.\n\nFull Usage\n----------\n\n::\n\n usage: coursera_offline.py [-h] [-s SHORTNAME] [-e EMAIL] [-p PASSWORD] [-S]\n [-d DIR] [-a [AUTO]]\n\n optional arguments:\n -h, --help show this help message and exit\n -s SHORTNAME, --shortname SHORTNAME\n Short name of the course being downloaded. This option\n is required when running the script for the first time\n -e EMAIL, --email EMAIL\n Email id registered with Coursera\n -p PASSWORD, --password PASSWORD\n Coursera Password\n -S, --synch Give this flag to synch with Coursera\n -d DIR, --dir DIR Give this option to save the videos in the path\n specified as argument. Defaults to Present Working\n Directory (PWD).\n -a [AUTO], --auto [AUTO]\n Give this option to create a crontab entry inorder to\n automatically synch with Coursera. Argument must one\n among 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT', 'SUN'.\n The argument is optional and defaults to 'SUN'\n\nSome sample invocations\n-----------------------\n\n**Note:** In order to download some courses, you need to register to the\ncourse and accept the honor code in Coursera site before running the\nscript.\n\nLet's say you're downloading a course called **Introduction to Logic**\nand you want to download it to the ``~/Logic`` directory.\n\nFirst time download\n^^^^^^^^^^^^^^^^^^^\n\n::\n\n coursera_offline -d ~/Logic -s intrologic-005 -e -p \n\nDo this to download the video lectures arranged as per weeks. This\ncreates the ``Logic`` directory in the home directory (if it doesn't\nexist) and downloads all the videos into this directory. This also\ncreates a ``data.json`` file that contains all the information requried\nto download the videos.\n\nThe argument **intrologic-005** is called the **shortname** and is\nunique for every course. It can be obtained from the class url. For\nexample for the course under discussion, the url is\nhttps://class.coursera.org/intrologic-005.\n\nObtaining the shortname\n'''''''''''''''''''''''\n\n- Signin to Coursera from\n `here `__.\n- You'll be redirected to a page containing all your registered\n courses.\n- Choose the course you want to download and click the **Go to class**\n button.\n- You'll be redirected to the class page whose url looks like\n ``https://class.coursera.org/``.\n- Copy the short name.\n\n**Note:** If the ``-d`` options is not given, the videos will be\ndownloaded to the current working directory.\n\nSynching\n^^^^^^^^\n\n::\n\n coursera_offline -d ~/Logic -S -e -p \n\nOkay, so you've been a few weeks into the course, now u need to fetch\nthe updated videos. Don't worry, there's a way to do it ! The above\ncommand takes care of fetching the updated video content and synching it\nwith your local directories.\n\nAuto Synch\n^^^^^^^^^^\n\n::\n\n coursera_offline -a -s intrologic-005 -e -p \n\nYou're downloading the course for the first time, and you don't want to\nkeep using the 'Synch' command whenever you want to update the video\ncontent, you can just pass the ``-a`` flag which creates a crontab entry\nfor the Synch command whch will be run at 11:59:59 pm on that particular\nday of the week. If no day is specified, it is defaulted to **Sunday**.\n\n**Note:** You can still force the script to synch with Coursera by using\nthe Synch command described above.\n\n.. |PyPi version| image:: https://img.shields.io/pypi/v/coursera_offline.svg\n :target: http://pypi.python.org/pypi/coursera_offline\n.. |PyPi downloads| image:: https://img.shields.io/pypi/dm/coursera_offline.svg\n :target: http://pypi.python.org/pypi/coursera_offline",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/sanketh95/coursera-offline",
"keywords": "coursera offline download lecture lectures videos and slides",
"license": "GPLv3",
"maintainer": null,
"maintainer_email": null,
"name": "coursera_offline",
"package_url": "https://pypi.org/project/coursera_offline/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/coursera_offline/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/sanketh95/coursera-offline"
},
"release_url": "https://pypi.org/project/coursera_offline/1.1.4/",
"requires_dist": null,
"requires_python": null,
"summary": "Download Coursera videos and lecture slides for offline viewing",
"version": "1.1.4"
},
"last_serial": 1573261,
"releases": {
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "424aeac94fead148cb3dc29d51b09498",
"sha256": "b87af32f787eb8af0a799217629520d84c2936565589044e3483a4e79305230d"
},
"downloads": -1,
"filename": "coursera_offline-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "424aeac94fead148cb3dc29d51b09498",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4408,
"upload_time": "2014-10-05T12:55:59",
"url": "https://files.pythonhosted.org/packages/9d/80/07e17e3081166599f05372b88db97c53f51e0fb0ea778fe19f15e92fafb4/coursera_offline-0.1.1.tar.gz"
}
],
"0.1.2": [
{
"comment_text": "",
"digests": {
"md5": "ec1b4716a9d284df52e5068e5730a214",
"sha256": "0d0140cb0461d6fc9544856dacf45c2f80db7e38db98095052e9ddbc2a276c07"
},
"downloads": -1,
"filename": "coursera_offline-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "ec1b4716a9d284df52e5068e5730a214",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4590,
"upload_time": "2014-10-06T04:46:55",
"url": "https://files.pythonhosted.org/packages/7f/bc/dfc50c472bc290497b29acc2fe0fb1d63fe5535bb7367f69314f760aa125/coursera_offline-0.1.2.tar.gz"
}
],
"0.1.3": [
{
"comment_text": "",
"digests": {
"md5": "6b28772613e45ddd042132faefd3fe54",
"sha256": "b41e9d00723aef0528727f7caa44acb57bdcb714073969c278b08fb1b2bf63e6"
},
"downloads": -1,
"filename": "coursera_offline-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "6b28772613e45ddd042132faefd3fe54",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4613,
"upload_time": "2014-10-06T16:07:49",
"url": "https://files.pythonhosted.org/packages/51/05/e9a298e70a95254be69b055b4310d42d85985acc9a5b85c08cb8825affce/coursera_offline-0.1.3.tar.gz"
}
],
"0.2.0": [
{
"comment_text": "",
"digests": {
"md5": "9bd2defda26f4e86f1daeabd760051b5",
"sha256": "13de7b6df0d33ce139eed8695d023371dc42133e10d2f9232d0b0ea2b241b093"
},
"downloads": -1,
"filename": "coursera_offline-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "9bd2defda26f4e86f1daeabd760051b5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6832,
"upload_time": "2014-10-07T11:54:44",
"url": "https://files.pythonhosted.org/packages/53/d3/b0e12434da5e00ab082cbc78bf4710e68093ef3ff9977f33f88ead44db17/coursera_offline-0.2.0.tar.gz"
}
],
"0.2.1": [
{
"comment_text": "",
"digests": {
"md5": "1b11d35abd2de4119f8797eef3d8b875",
"sha256": "539c915c21a719c44c2d008cc81688528a146b9d1be5dc45f3ad2a10db91fbd2"
},
"downloads": -1,
"filename": "coursera_offline-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "1b11d35abd2de4119f8797eef3d8b875",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5041,
"upload_time": "2014-10-13T06:45:20",
"url": "https://files.pythonhosted.org/packages/46/cb/092724a14fbc03adbe65110952542838b4b4680bf9e359ee2c4e02569d13/coursera_offline-0.2.1.tar.gz"
}
],
"0.2.2": [
{
"comment_text": "",
"digests": {
"md5": "52342d2be5194c2de0ca26e060103aa6",
"sha256": "b84bdc1b5a5b3d57a1984047d80f92f19b88e1576609a5a7731e47992a6508fb"
},
"downloads": -1,
"filename": "coursera_offline-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "52342d2be5194c2de0ca26e060103aa6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7772,
"upload_time": "2014-10-13T06:56:42",
"url": "https://files.pythonhosted.org/packages/34/1f/14acfde60a3b1d86619af40624ddfc28ec3946d57d798905f6838c35d7ba/coursera_offline-0.2.2.tar.gz"
}
],
"0.2.3": [
{
"comment_text": "",
"digests": {
"md5": "939248c2fe397b5baef8ab10b1c399f7",
"sha256": "ab8cc5b561a9ba1dfc34e64aae6baff90b6a1ff7f08ad2b543bb0b1934d924b6"
},
"downloads": -1,
"filename": "coursera_offline-0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "939248c2fe397b5baef8ab10b1c399f7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7773,
"upload_time": "2014-10-13T07:49:34",
"url": "https://files.pythonhosted.org/packages/1a/e1/cc33c264b576e4a1a41f423d05161f800a05d557b78795f2d13bf72be354/coursera_offline-0.2.3.tar.gz"
}
],
"0.2.4": [
{
"comment_text": "",
"digests": {
"md5": "f1de7099b7e721e25df571d0bd74b5ad",
"sha256": "ab50de79883636dded62f8fe682eef0e1906e1bb3f89f43c82c75d8b01ba3168"
},
"downloads": -1,
"filename": "coursera_offline-0.2.4.tar.gz",
"has_sig": false,
"md5_digest": "f1de7099b7e721e25df571d0bd74b5ad",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7906,
"upload_time": "2014-10-13T09:49:34",
"url": "https://files.pythonhosted.org/packages/17/08/5a418950f9c23ed6d133a2f6ab00a7b8f75847e60462fb8dd4b5658db47a/coursera_offline-0.2.4.tar.gz"
}
],
"0.2.5": [
{
"comment_text": "",
"digests": {
"md5": "ef06e753b3bd403aa501c4dc2b152159",
"sha256": "a7e39b7e44429adad7b56c7e84689060ea72fa21437fb177816203c6b128ae99"
},
"downloads": -1,
"filename": "coursera_offline-0.2.5.tar.gz",
"has_sig": false,
"md5_digest": "ef06e753b3bd403aa501c4dc2b152159",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7883,
"upload_time": "2014-10-27T06:52:49",
"url": "https://files.pythonhosted.org/packages/67/43/67950459a789c81e73703455c6001d97e5700aace5a96599d440beafd56c/coursera_offline-0.2.5.tar.gz"
}
],
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "9a7ae2005c6f5e1ed310b3a3dc4883b7",
"sha256": "033bde2f6d954f0e9aabfd369e75daca0d3d11782d4f2e240f6111c3b8a05553"
},
"downloads": -1,
"filename": "coursera_offline-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "9a7ae2005c6f5e1ed310b3a3dc4883b7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8065,
"upload_time": "2014-12-14T11:18:11",
"url": "https://files.pythonhosted.org/packages/c0/1f/aed52433d9b4bbb2d73e12aeaf614e380291702662bf3b1da2884267340c/coursera_offline-1.0.0.tar.gz"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "d7d944e310e22fc61612660597e68fea",
"sha256": "c62645e6efd5b56ee200aea0d1a5f540b902858715425cf4a1ce991054c82cc4"
},
"downloads": -1,
"filename": "coursera_offline-1.0.1.zip",
"has_sig": false,
"md5_digest": "d7d944e310e22fc61612660597e68fea",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 29504,
"upload_time": "2014-12-16T14:40:59",
"url": "https://files.pythonhosted.org/packages/dd/31/3d67e7eb8e0d04f3e139aad538fc2ad762f1ef79cdc57e7faf840fe2f66a/coursera_offline-1.0.1.zip"
}
],
"1.0.2": [
{
"comment_text": "",
"digests": {
"md5": "5d8628be664747a145a6aadc6ab939c3",
"sha256": "bd9d2a085c473a7678b46196714244476dce303bbef1da686e3adaae442a0280"
},
"downloads": -1,
"filename": "coursera_offline-1.0.2.zip",
"has_sig": false,
"md5_digest": "5d8628be664747a145a6aadc6ab939c3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 29651,
"upload_time": "2014-12-22T17:09:58",
"url": "https://files.pythonhosted.org/packages/7e/ef/8cecb5873c4f3cf8fef129f7b7c2982d15241e15789a572970369b28fc45/coursera_offline-1.0.2.zip"
}
],
"1.1.0": [
{
"comment_text": "",
"digests": {
"md5": "6303a21e94a5d5310f3dbd2b3e239ec5",
"sha256": "60c1c31791e4df3270f0320a80fa6e879de81f21b3a0b68c20f2fbe0826b50d9"
},
"downloads": -1,
"filename": "coursera_offline-1.1.0.zip",
"has_sig": false,
"md5_digest": "6303a21e94a5d5310f3dbd2b3e239ec5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 30198,
"upload_time": "2015-05-18T08:37:49",
"url": "https://files.pythonhosted.org/packages/c5/c0/dc4436e8d43cfd2f6da66e5812aa6c14164e765f433913bcf62788dea147/coursera_offline-1.1.0.zip"
}
],
"1.1.1": [
{
"comment_text": "",
"digests": {
"md5": "e5aac37e9f197b2cc303d7b63994a9cd",
"sha256": "ec03b970badfb2b9ce8af3ebb0f9f335b76486dbdd9111e9651e9138f1d4c78c"
},
"downloads": -1,
"filename": "coursera_offline-1.1.1.zip",
"has_sig": false,
"md5_digest": "e5aac37e9f197b2cc303d7b63994a9cd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 24890,
"upload_time": "2015-05-20T12:31:27",
"url": "https://files.pythonhosted.org/packages/f8/3f/71629e6eda97621f669cdf88cafb7c707e1f11833943044509cb230a9a3e/coursera_offline-1.1.1.zip"
}
],
"1.1.2": [
{
"comment_text": "",
"digests": {
"md5": "cbaeb44606c0729c8a436c59a25d44e2",
"sha256": "255bf5f2fe08a3b25e05accade9dae2751c468b1c1f4b9db37367077ca35ee5e"
},
"downloads": -1,
"filename": "coursera_offline-1.1.2.zip",
"has_sig": false,
"md5_digest": "cbaeb44606c0729c8a436c59a25d44e2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 29897,
"upload_time": "2015-05-20T13:10:17",
"url": "https://files.pythonhosted.org/packages/98/12/4c5f611a7f10027a98285cb33d5086373491c0103074c5c65c56a64e1ba0/coursera_offline-1.1.2.zip"
}
],
"1.1.3": [
{
"comment_text": "",
"digests": {
"md5": "9dbb366c214a07742f70318711c8093f",
"sha256": "96d2fd6bf9df7f6e83c736590226a9984823e9447453644086a4c408fbdd187c"
},
"downloads": -1,
"filename": "coursera_offline-1.1.3.zip",
"has_sig": false,
"md5_digest": "9dbb366c214a07742f70318711c8093f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 29675,
"upload_time": "2015-05-20T13:23:50",
"url": "https://files.pythonhosted.org/packages/d8/76/1ebd8eb16d7b572cc16c4f061c59bcd7d3f2d9029b10712ad91ef5a10d01/coursera_offline-1.1.3.zip"
}
],
"1.1.4": [
{
"comment_text": "",
"digests": {
"md5": "111897bc6eaa3f4e9c850de146fea2fe",
"sha256": "795df032b3d776717e840a3e3caef1c7d9a5c1626bda3a71ff3594dbc12fba68"
},
"downloads": -1,
"filename": "coursera_offline-1.1.4.zip",
"has_sig": false,
"md5_digest": "111897bc6eaa3f4e9c850de146fea2fe",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 29637,
"upload_time": "2015-06-01T11:48:34",
"url": "https://files.pythonhosted.org/packages/37/97/7d908dfec909bddfadcbfa664717fc729bfee4bbbd6672d0c5291cc6a351/coursera_offline-1.1.4.zip"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "111897bc6eaa3f4e9c850de146fea2fe",
"sha256": "795df032b3d776717e840a3e3caef1c7d9a5c1626bda3a71ff3594dbc12fba68"
},
"downloads": -1,
"filename": "coursera_offline-1.1.4.zip",
"has_sig": false,
"md5_digest": "111897bc6eaa3f4e9c850de146fea2fe",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 29637,
"upload_time": "2015-06-01T11:48:34",
"url": "https://files.pythonhosted.org/packages/37/97/7d908dfec909bddfadcbfa664717fc729bfee4bbbd6672d0c5291cc6a351/coursera_offline-1.1.4.zip"
}
]
}