Whenever you want to stop the crawler, press CTRL+C.
Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
- Install python 2.7 from Here, if you are using 64 bit please select Windows x86-64 MSI installer, or else please select Windows x86 MSI installer.
- During the installation process, please tick "Add python to the PATH", unless you know what you are doing.
- Press the green button: [Clone or Download], download as zip, and unzip it to somewhere.
- open the somewhere folder, and hold shift and right click, open CMD at this folder.
- type
python main.py
. - type in your username and password according to the interface's instruction, I am not able to receive your username & password using this script.
- Install python 2.7
python main.py
same as OSX
never
- be patient
- increase the sleep time, so that we won't flood blackboard
- file some bugs under issue
- email me of some possible security problem
- create a deployment guideline for non-programmer
- PR any improvement
- test in more environment
- read file headers(course->section->directories/files->directories/files...) first, instead of read and write together
- write to tmp_download file and rename later, so that keyboard interupt won't break the file writing
- use XML/ HTML parser instead of regular expression
- proper unit testing
- more reasonable time.sleep location
Tested environment:
- OSX & python2
- ubuntu & python2
- windows7 & python2
Q: Will you add old blackboard? A: No. Q: What if blackboard update and break the script? A: Maybe I will update it or maybe I won't. Q: What if my password leaked using this script? A: I will not compensate for any of your loss. No warranty of any kind is provided Q: What if ......? A: I am not responsible for any of your loss. Q: Why is there are some empty folders? A: Because the lecturer/ tutor/ professor has opened the course but haven't put any materials inside