{"id":17762113,"url":"https://github.com/thepushkarp/automate-ccc-reports","last_synced_at":"2025-03-15T11:33:03.049Z","repository":{"id":39464821,"uuid":"194262472","full_name":"thepushkarp/Automate-CCC-Reports","owner":"thepushkarp","description":"Automate and simplify the process of making reports of contests hosted by the IIITV CodeChef Campus Chapter","archived":true,"fork":false,"pushed_at":"2023-04-01T02:56:42.000Z","size":38,"stargazers_count":9,"open_issues_count":5,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T14:17:10.081Z","etag":null,"topics":["campus-chapter","codechef","contests","posts","reports"],"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/thepushkarp.png","metadata":{"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"thepushkarp","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://www.buymeacoffee.com/thepushkarp"},"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}},"created_at":"2019-06-28T11:28:27.000Z","updated_at":"2023-05-23T23:51:22.000Z","dependencies_parsed_at":"2023-02-17T01:32:02.472Z","dependency_job_id":null,"html_url":"https://github.com/thepushkarp/Automate-CCC-Reports","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepushkarp%2FAutomate-CCC-Reports","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepushkarp%2FAutomate-CCC-Reports/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepushkarp%2FAutomate-CCC-Reports/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepushkarp%2FAutomate-CCC-Reports/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thepushkarp","download_url":"https://codeload.github.com/thepushkarp/Automate-CCC-Reports/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243725015,"owners_count":20337660,"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":["campus-chapter","codechef","contests","posts","reports"],"created_at":"2024-10-26T19:52:15.541Z","updated_at":"2025-03-15T11:33:02.714Z","avatar_url":"https://github.com/thepushkarp.png","language":"Python","funding_links":["https://ko-fi.com/thepushkarp","https://www.buymeacoffee.com/thepushkarp"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align = 'center'\u003eAutomate-CCC-Reports\u003c/h1\u003e\n\n\u003ch2 align = 'center'\u003eAutomate and simplify the process of making reports of contests hosted by IIITV CodeChef Campus Chapter\u003c/h2\u003e\n\n### Inspiration 💡\n\nThe work of creating CodeChef contest reports after the contest is rather boring and repetitive. One needed to open the contest page and copy-paste the content to make a post of the contest report for Social Media. As this work could be automated using web scraping, I decided to make this script.\n\nThis repository can be used for making the contest report of any other contest (except Long Chllenges, Cook-Offs and Lunchtimes and other such contests for now) by changing the template as per requirement.\n\n## How to Use? 😀\n\n**Running this script requires Google Chrome to run Selenium. Make sure to [have Google Chrome installed](https://www.google.com/chrome/) before going to the next steps.**\n\n- Clone the repository `$ git clone https://github.com/thepushkarp/Automate-CCC-Reports.git`\n- Create a virtual environment ([click here](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/) to learn about Virtual Environment)\n\n```sh\nvirtualenv env\n```\n\n- Activate virtual environment (On macOS and Linux)\n\n```sh\nsource env/bin/activate\n```\n\n- Activate virtual environment (On Windows)\n\n```sh\n.\\env\\Scripts\\activate\n```\n\n- Install requirements\n\n```sh\npip3 install -r requirements.txt\n```\n\n- Download the version of Chrome Driver as per your Google Chrome version from http://chromedriver.chromium.org/downloads\n\n- Add the path of the downloaded Chrome Driver to line no. 31 of [scrape.py](scrape.py)\n\n- Run the script using `python3 post_gen.py` and enter the contest link, and the contest type in the prompt that follows. The posts generated would be saved in the `posts` folder.\n\n**NOTE: All the scripts are written in Python 3. So, make sure to use the appropriate version of pip and python.**\n\n## Known Issues\n\n- On **some** contest pages, there may be empty tags in-between strings (like empty \\\u003cstrong\u003e tags between '3' and 'hours' in contest duration) due to which insted of '3 hours', it may save only '3' in the duration variable.\n\n## License\n\n[MIT License](LICENSE)\n\n---\n\n\u003cp align=\"center\"\u003e Made with ❤ by \u003ca href=\"https://github.com/thepushkarp\"\u003ePushkar Patel\u003c/a\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepushkarp%2Fautomate-ccc-reports","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthepushkarp%2Fautomate-ccc-reports","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepushkarp%2Fautomate-ccc-reports/lists"}