No project description provided
Project description
IITM BS Videos Downloader
Python Bot Library to download IITM BS videos.
Installing
Visit step by step guide to installation
pip install iitmbsvideosdownloader
How it Works?
The bot is basically a Python Package. It opens the browser then gets videos links from portal and goes to third party sites like Y2mate and downloads videos one by one.
So just one click and all the boring stuff regarding downloading videos bot can handle.
Features
- Auto Retries if failed to download a video
- Skips videos if already downloaded
- Renames videos to the names written on Portal (ex: L1.2 - )
- Other tasks can be done on PC while it's running
Tools required
- Python Setup
- IDE for Python (PyCharm, Spyder etc)
- Brave Browser
Example for Windows
from iitmbsvideosdownloader import SUBJECTS, SITES, iitmbsvideosdownloader
mySmartBot = iitmbsvideosdownloader.SmartBot(
executable_path=r"C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe",
profile_path=r"C:\Users\Shekh\AppData\Local\BraveSoftware\Brave-Browser\User Data\Default",
download_path=r"D:\Term 8",
subjects=[
SUBJECTS.AI_SEARCH_METHODS_FOR_PROBLEM_SOLVING,
SUBJECTS.DEEP_LEARNING,
SUBJECTS.SOFTWARE_ENGINEERING,
SUBJECTS.STRATEGIES_FOR_PROFESSIONAL_GROWTH
],
year=2023,
term=2,
week=1,
)
mySmartBot.start()
In the Code:
executable_path: path of the browser
profile_path: browsers save user's data at a specific location, please provide that here.
download_path: where you want to save all the bot's downloaded videos, set the directory location here.
subjects: use SUBJECTS module to provide a list of your subjects
year: current year
term: one digit integer that tells current term (1 for Jan Term, 2 for May Term, 3 for Sep Term)
week: current week, so bot knows which week to download
Install using pip
- make sure you are logged in to your Brave browser on any of the course (on seek portal) and if already logged in then close the browser
- install the library using pip
- paste the code above in Python Environment (PyCharm recommended)
- change the code as per your system and needs
- Run it and let the bot do it's work.
Recommended for best results
Brave Browser - download from here
PyCharm - download from here
Tip
Put all your current subjects in subjects argument and when you don't need to download any of them just comment out that subject.
Contact
Did this package helped you save some time? or any suggestions?
Contact -
Savindra Singh Shekhawat
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file iitmbsvideosdownloader-3.1.2.tar.gz
.
File metadata
- Download URL: iitmbsvideosdownloader-3.1.2.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.18 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66dbb5db0c7c46e4ef44fb06fc99e16aeeec26a6795c15e17fc999dee227ba56 |
|
MD5 | a7d13439416127a091e98880a9f31a94 |
|
BLAKE2b-256 | c3610433f16171eb12f9bd48f9d0970de640689483a5c4bed908fc3951c153fa |
File details
Details for the file iitmbsvideosdownloader-3.1.2-py3-none-any.whl
.
File metadata
- Download URL: iitmbsvideosdownloader-3.1.2-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.18 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 921f5894abb3d09301d3302c6a5864d9286d37cc547ecfbe89f31faf7130c9ae |
|
MD5 | 35cf45c36f9a639d3a5e18a3e023a3a4 |
|
BLAKE2b-256 | 4b84782a7f5911a4f8672d65061e32c3ca0640193f03adc64b010b937295d770 |