{"id":42722304,"url":"https://github.com/itu-helper/data-updater","last_synced_at":"2026-01-29T16:14:16.813Z","repository":{"id":109621729,"uuid":"469048733","full_name":"itu-helper/data-updater","owner":"itu-helper","description":"Periodically scrapes data related to ITU to be used by anyone. This data powers the ITU Helper web sites.","archived":false,"fork":false,"pushed_at":"2025-10-15T07:01:31.000Z","size":281,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-15T20:34:13.008Z","etag":null,"topics":["data","istanbul-technical-university","scraper","selenium-python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itu-helper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-12T10:21:56.000Z","updated_at":"2025-10-15T07:01:35.000Z","dependencies_parsed_at":"2023-03-23T08:19:39.042Z","dependency_job_id":"5e5095cb-8fd3-4905-88a2-bc7d1a8ff794","html_url":"https://github.com/itu-helper/data-updater","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itu-helper/data-updater","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itu-helper%2Fdata-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itu-helper%2Fdata-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itu-helper%2Fdata-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itu-helper%2Fdata-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itu-helper","download_url":"https://codeload.github.com/itu-helper/data-updater/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itu-helper%2Fdata-updater/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28880972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data","istanbul-technical-university","scraper","selenium-python"],"created_at":"2026-01-29T16:14:16.683Z","updated_at":"2026-01-29T16:14:16.800Z","avatar_url":"https://github.com/itu-helper.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n[![Refresh Lessons](https://github.com/itu-helper/data-updater/actions/workflows/refresh_lessons.yml/badge.svg)](https://github.com/itu-helper/data-updater/actions/workflows/refresh_lessons.yml)\n[![Refresh Course Plans](https://github.com/itu-helper/data-updater/actions/workflows/refresh_course_plans.yml/badge.svg)](https://github.com/itu-helper/data-updater/actions/workflows/refresh_course_plans.yml)\n[![Refresh Courses](https://github.com/itu-helper/data-updater/actions/workflows/refresh_courses.yml/badge.svg)](https://github.com/itu-helper/data-updater/actions/workflows/refresh_courses.yml)\n[![Refresh Misc](https://github.com/itu-helper/data-updater/actions/workflows/refresh_misc.yml/badge.svg)](https://github.com/itu-helper/data-updater/actions/workflows/refresh_misc.yml)\n\n![GitHub repo size](https://img.shields.io/github/repo-size/itu-helper/data-updater?label=Repository%20Size\u0026logo=github\u0026style=flat-square)\n![GitHub](https://img.shields.io/github/license/itu-helper/data-updater?label=License\u0026style=flat-square)\n![GitHub issues](https://img.shields.io/github/issues-raw/itu-helper/data-updater?label=Issues\u0026style=flat-square)\n\n# **ITU Helper**\n\n\u003c/div\u003e\n\n\u003cdiv align=\"left\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/itu-helper/home/main/images/logo.png\" align=\"right\"\n     alt=\"ITU Helper Logo\" width=\"180\" height=\"180\"\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n\n_İTÜ'lüler için İTÜ'lülerden_\n\n_ITU Helper_ İstanbul Teknik Üniversitesi öğrencilerine yardım etmek amacıyla ön şart görselleştirme, ders planı oluşturma ve resmi İTÜ sitelerini birleştirme gibi hizmetler sağlayan bir açık kaynaklı websitesidir.\n\n_ITU Helper_'a [_bu adresten_](https://itu-helper.github.io/home/) ulaşabilirsiniz.\n\n\u003c/div\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n# **itu-helper/data-updater**\n\n## **Ne İşe Yarar?**\n\n_Github Actions_ kullanarak **Veri Yenileme Aralıkları** kısmında belirtilen aralıklarda, İTÜ'nün çeşitli sitelerinden ders planlarını ve programlarını okur ve [itu-helper/data](https://github.com/itu-helper/data) _repo_'suna _commit_ eder. Daha sonra, [itu-helper/sdk](https://github.com/itu-helper/sdk) _repo_'suyla veya manuel olarak bu datalara erişilebilirsiniz.\n\n## **Veri Yenileme Aralıkları**\n\n- **(00:04 - 02:49) 5 dk'de bir**: _Lesson_'lar güncellenir.\n- **(02:55)**: Bina ve program kodları güncellenir.\n- **(03:00)**:\n  - **Pazartesileri**: _Course_'lar güncellenir.\n  - **Salıları**: Ders Planları güncellenir.\n- **(05:04 - 23:49) 5 dk'de bir**: _Lesson_'lar güncellenir.\n\n\u003e [!NOTE]\n\u003e _Lesson_'ların daha sık güncellenmesinin nedeni kontenjan verilerinin güncel tutulmasının gerekmesidir. _Course_'ların ve Ders Planlarının güncellendiği sırada _Lesson_'ların güncellenememsi _Github Actions_'da kullandığımız _Git Auto Commit_'in repo'da değişiklik olması durumda commit atamamasındandır.\n\n## **Verilerin İsimlendirilmesi**\n\n- **Dersler**\n  - _MAT 281E_ → Course\n  - _CRN: 22964, MAT 281E_ → Lesson\n- **Ders Planları**\n  - _Bilgisayar ve Bilişim Fakültesi_ → Faculty\n  - _Yapay Zeka ve Veri Mühedisliği_ → Program\n  - _2021-2022 / Güz Dönemi Öncesi_ → Iteration\n\n## **Nasıl Kullanılır?**\n\nVeriler otomatik olarak [Veri Yenileme Aralıkları](#veri-yenileme-aralıkları) bölümünde belirtilen saatlerde güncellenir. Manuel olarak çalıştırmak isterseniz, aşağıdaki kodu çalıştırın. `{SCRAP_TARGET}` yazan yere de, _scrap_'lenecek olan veriyi girin (`lesson`, `course`, `course_plan`, `misc`).\n\n```console\npython src/run.py -scrap_target {SCRAP_TARGET}\n```\n\n## **Toplanan Verilerden Nasıl Yararlanılır?**\n\nVerilerden yararlanırken izleyebileceğiniz iki ana yol bulunmakta. İlk olarak, önerdiğimiz yöntem olan [itu-helper/sdk](https://github.com/itu-helper/sdk) _repo_'sunda bulunan SDK'mizden yararlanmanız. Diğer yöntem ise, verileri _HTTP request_ ile okumak. Bu yöntemin dezavantajı, okuduğunuz dosyalardan bağlantıları kendiniz oluşturmanız gerekmesi. Daha detaylı bilgi için, [itu-helper/sdk](https://github.com/itu-helper/sdk)'nin [HTTP request](https://github.com/itu-helper/sdk?tab=readme-ov-file#http-request) bölümüne bakabilirsiniz.\n\n## **Bilinen Problemler**\n\n### **1. Eksik Ders İsimleri**\n\nDersler (Course) _scrap_'lenirken kullanılan [sayfa](https://www.sis.itu.edu.tr/TR/ogrenci/lisans/ders-bilgileri/ders-bilgileri.php), bazı dersler için isim bulundurmuyor veya yanlış isim bulundurmuyor. Örneğin `YZV 311E` dersi için görünen ders adı `N`, başka sayfalarda `Veri Madenciliği` olarak görünmesine rağmen.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitu-helper%2Fdata-updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitu-helper%2Fdata-updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitu-helper%2Fdata-updater/lists"}