{"id":26833585,"url":"https://github.com/mr-won/kotlin_crawling","last_synced_at":"2025-03-30T15:29:24.711Z","repository":{"id":204420212,"uuid":"711809507","full_name":"mr-won/Kotlin_Crawling","owner":"mr-won","description":"[Android] 코틀린 크롤링을 활용한 앱 프로젝트 (Kotlin+JSoup)","archived":false,"fork":false,"pushed_at":"2025-03-08T01:37:32.000Z","size":127,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T02:27:10.756Z","etag":null,"topics":["firebase","firestore","jsoup","kotlin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mr-won.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-10-30T08:12:11.000Z","updated_at":"2025-03-08T01:37:35.000Z","dependencies_parsed_at":"2025-03-18T02:27:21.375Z","dependency_job_id":"d4bfbac2-1468-4a81-86fc-4857ce260719","html_url":"https://github.com/mr-won/Kotlin_Crawling","commit_stats":null,"previous_names":["chihyunwon/kotlin_crawling","mr-won/kotlin_crawling","wonchihyeon/kotlin_crawling","chihyeonwon/kotlin_crawling"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-won%2FKotlin_Crawling","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-won%2FKotlin_Crawling/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-won%2FKotlin_Crawling/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-won%2FKotlin_Crawling/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mr-won","download_url":"https://codeload.github.com/mr-won/Kotlin_Crawling/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246338112,"owners_count":20761329,"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":["firebase","firestore","jsoup","kotlin"],"created_at":"2025-03-30T15:29:24.151Z","updated_at":"2025-03-30T15:29:24.697Z","avatar_url":"https://github.com/mr-won.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kotlin_Crawling\n코틀린 크롤링을 활용한 앱 프로젝트 (Kotlin+JSoup).\n## 프로젝트 개요\n(원주캠 학생식당 식단표)[https://coop.gwnu.ac.kr/contents.asp?page=848]    \n![image](https://github.com/chihyunwon/Kotlin_Crawling/assets/58906858/747297b8-adb9-498c-ab90-736e2a1431e5)\n```\n개발자 : won chi hyeon\n\n식단표 웹사이트에서 필요한 부분의 정보를 크롤링한다음 파이어베이스 스토어에 저장한 후\n보여주는 원주캠 전용 식단앱을 개발하고자 한다.\n```\n#### app 수준 gradle 설정\n```kotlin\nid (\"kotlin-android-extensions\")\n\nimplementation (\"io.reactivex.rxjava2:rxandroid:2.1.1\")\nimplementation (\"io.reactivex.rxjava2:rxkotlin:2.4.0\")\nimplementation (\"org.jsoup:jsoup:1.13.1\")\n```\n#### AndroidManifest 설정 추가\n```\n\u003cuses-permission android:name=\"android.permission.INTERNET\" /\u003e\n\u003capplication\u003e android:usesCleartextTraffic=\"true\" \n```\n#### 23.10.30 작업\n![image](https://github.com/chihyunwon/Kotlin_Crawling/assets/58906858/9c3cb038-a9da-47bf-a4ea-d28a87f05620)\n```\nhttps://coop.gwnu.ac.kr/contents.asp?page=848 사이트의 어느 부분을 가져오기는 하는 데\n조식, 중식, 석식의 태그를 잘못 찾는 것 같다\n```\n#### 크롤링해 올 태그 분석\n![image](https://github.com/chihyunwon/Kotlin_Crawling/assets/58906858/908a2768-5e09-45a7-8421-f5dea28fd59e)\n```\ntable dashboardz 쪽의 tbody 밑의 td class=left의 1번이 조식 2번이 중식 3번이 석식 메뉴를 나타낸다. \n```\n#### 23.10.30\n![image](https://github.com/chihyunwon/Kotlin_Crawling/assets/58906858/68e1ed16-c068-4d76-9459-c8688deee7b3)\n```\n메뉴가 나오기는 하는데 뭔지 모르겠다\n```\n#### UI 수정\n![image](https://github.com/chihyunwon/Kotlin_Crawling/assets/58906858/c6490779-849d-49db-843c-c6ecfed7ee83)\n```\n크롤링 텍스트 공간을 스크롤 뷰로 수정하고 버튼의 크기와 텍스트 크기를 수정했다.\n```\n#### 로직 수정\n![image](https://github.com/chihyunwon/Kotlin_Crawling/assets/58906858/b4eaeb07-0166-4765-9d37-ffb82a168f0b)\n```\nth.bln 이 오늘 날짜와 같을 때만 조식 중식 석식을 출력하도록 하면 오늘 날짜의 조식 중식 석식만 뽑아올 수 있을 것 같다.\n```\n#### 오늘 날짜를 뽑아내기\n![image](https://github.com/chihyunwon/Kotlin_Crawling/assets/58906858/436f433b-9897-42f3-aa0f-97a2033c7d09)    \n![image](https://github.com/chihyunwon/Kotlin_Crawling/assets/58906858/f63b8434-50e4-46dd-ad90-a565e752e244)\n```\nlocaldate와 formatter를 사용해서 10.30의 형태로 formattedDate 날짜를 저장한 후 Log를 찍어서 10.30의 형태로 출력되는 것을\n확인했다.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-won%2Fkotlin_crawling","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-won%2Fkotlin_crawling","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-won%2Fkotlin_crawling/lists"}