Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit 637f45b

Browse files
committed
Add support for bitshyd.impartus.com
1 parent fd2d520 commit 637f45b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ilc_scrape.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
IMP_LECTURES_URL = "api/subjects/{}/lectures/{}"
2828

2929
CATALOG_PAT = re.compile(
30-
r"(?P<base>(https?://)?((172\.16\.3\.20)|(a.impartus.com))/)"
30+
r"(?P<base>(https?://)?((172\.16\.3\.20)|((a|bitshyd).impartus.com))/)"
3131
r"ilc/#/course/(?P<subject>\d+)/(?P<lec>\d+)/?"
3232
)
3333
RANGE_PAT = re.compile(r"\s*(?P<l>\d*)(\s*:\s*(?P<r>\d*))?\s*") # ignore spaces

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ilc-scraper"
3-
version = "0.2.5"
3+
version = "0.2.6"
44
description = "A scraper for Impartus Lecture Capture videos for BITS Hyderabad"
55
authors = ["iamkroot <kroot.patel@gmail.com>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)