mirror of
https://github.com/quatalog/quatalog.git
synced 2024-11-26 16:52:44 +00:00
Merge branch 'main' of https://github.com/quatalog/quatalog
This commit is contained in:
commit
80f9ed1d95
1
.github/workflows/scraper.yml
vendored
1
.github/workflows/scraper.yml
vendored
|
@ -110,6 +110,7 @@ jobs:
|
|||
|
||||
- name: Merge data
|
||||
run: |
|
||||
mkdir -p quatalog-site/courses quatalog-site/json
|
||||
rsync -avz courses/ quatalog-site/courses/
|
||||
rsync -avz searchable_catalog.json quatalog-site/json/searchable_catalog.json
|
||||
rsync -avz courses_list.json quatalog-site/json/courses_list.json
|
||||
|
|
|
@ -169,7 +169,7 @@ def main():
|
|||
"https://tes.collegesource.com/publicview/TES_publicview01.aspx?rid=f080a477-bff8-46df-a5b2-25e9affdd4ed&aid=27b576bb-cd07-4e57-84d0-37475fde70ce"
|
||||
)
|
||||
|
||||
print(f'Title is {driver.find_element(By.TAG_NAME, "title").get_attribute("innerText")}')
|
||||
print(f'Title is {driver.find_element(By.TAG_NAME, "title").get_attribute("innerText")}', file=sys.stderr)
|
||||
|
||||
num_pages = int(
|
||||
driver.find_element("id", "lblInstWithEQPaginationInfo").text.split()[-1]
|
||||
|
|
Loading…
Reference in a new issue