{"id":21001718,"url":"https://github.com/v4lli/zpa2ics","last_synced_at":"2025-06-14T10:34:07.674Z","repository":{"id":145948847,"uuid":"74417566","full_name":"v4lli/zpa2ics","owner":"v4lli","description":"Convert HM FK07 timetables to iCalendar feeds","archived":false,"fork":false,"pushed_at":"2016-12-06T10:00:55.000Z","size":212,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T13:44:47.733Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/v4lli.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}},"created_at":"2016-11-22T00:15:48.000Z","updated_at":"2020-04-11T14:22:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff00e177-311a-492e-990d-ee55e270a46c","html_url":"https://github.com/v4lli/zpa2ics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/v4lli/zpa2ics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v4lli%2Fzpa2ics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v4lli%2Fzpa2ics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v4lli%2Fzpa2ics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v4lli%2Fzpa2ics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/v4lli","download_url":"https://codeload.github.com/v4lli/zpa2ics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v4lli%2Fzpa2ics/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259802707,"owners_count":22913697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-19T08:16:16.882Z","updated_at":"2025-06-14T10:34:07.649Z","avatar_url":"https://github.com/v4lli.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zpa2ical scraper\n\nScrapes the new [HM FK07](http://www.cs.hm.edu/) ZPA system and converts\nthe personalized weekly time table to an iCalendar feed file.  iCal\nfeeds are compatible with almost all calendar systems (including Gmail)\nas well as most calendar apps.\n\n![Calendar view example](/ical.png)\n\n## Requirements\n\n* python3 (tested with 3.5)\n* BeautifulSoup4 (`pip install BeautifulSoup4`)\n* icalendar (`pip install icalendar`)\n* requests (`pip install requests`)\n\n# Usage\nPut your login credentials into a text file, separated by a colon\n(htaccess-style). Pass the path to this file as the first parameter to\nzpa2ics.py.\n\nExample credential file:\n\n\u003cpre\u003eifw1234:foobar\u003c/pre\u003e\n\nExample call which scrapes all weeks from WS16/17:\n\n\u003cpre\u003e$ ./zpa2ics.py ~/.zpa_login.conf /var/www/stundenplan.ics 04.10.2016 01.02.2017\u003c/pre\u003e\n\nIt's probably a good idea to add zpa2ics.py to crontab and re-fetch it e.g. daily:\n\n\u003cpre\u003e@daily chronic /home/valentin/zpa2/zpa2ics.py ...\u003c/pre\u003e\n\n## Note\nThis is a quick-and-dirty implementation. The code might look rather adventurous.\n\nThe code currently does not verify the (invalid) ZPA certificate. Only use\non trusted networks!\n\n## TODO\n- certificate pinning\n- convert date strings to objects\n- error handling\n- cache all weeks but the current one\n- don't re-fetch past weeks\n- log out when finished?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv4lli%2Fzpa2ics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv4lli%2Fzpa2ics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv4lli%2Fzpa2ics/lists"}