{"id":21259880,"url":"https://github.com/saltiola7/youtube_live_stream_to_webflow_post","last_synced_at":"2025-03-15T06:43:11.225Z","repository":{"id":240103173,"uuid":"801686546","full_name":"Saltiola7/youtube_live_stream_to_webflow_post","owner":"Saltiola7","description":"Work in progress. This repo sync youtube livestreams to webflow CMS in real time","archived":false,"fork":false,"pushed_at":"2024-05-16T18:07:19.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T02:42:18.063Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Saltiola7.png","metadata":{"files":{"readme":"readme","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":"2024-05-16T18:04:20.000Z","updated_at":"2024-05-16T18:07:22.000Z","dependencies_parsed_at":"2024-05-16T19:26:26.632Z","dependency_job_id":"f245dd08-8836-4b5a-9c71-19b563736ad8","html_url":"https://github.com/Saltiola7/youtube_live_stream_to_webflow_post","commit_stats":null,"previous_names":["saltiola7/youtube_live_stream_to_webflow_post"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saltiola7%2Fyoutube_live_stream_to_webflow_post","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saltiola7%2Fyoutube_live_stream_to_webflow_post/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saltiola7%2Fyoutube_live_stream_to_webflow_post/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saltiola7%2Fyoutube_live_stream_to_webflow_post/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Saltiola7","download_url":"https://codeload.github.com/Saltiola7/youtube_live_stream_to_webflow_post/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243695513,"owners_count":20332626,"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-21T04:15:38.068Z","updated_at":"2025-03-15T06:43:11.204Z","avatar_url":"https://github.com/Saltiola7.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YouTube to Webflow Synchronization Flow\n\nThis project provides a Prefect flow to synchronize YouTube videos with Webflow CMS items. The flow fetches YouTube videos, checks if they exist in BunnyCDN, and then creates or updates Webflow CMS items accordingly.\n\n## Prerequisites\n\n- Python 3.7+\n- Prefect\n- Required API credentials and configurations\n\n## Installation\n\n1. Clone the repository:\n    ```sh\n    git clone \u003crepository-url\u003e\n    cd \u003crepository-directory\u003e\n    ```\n\n2. Install the required Python packages:\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n3. Set up your configuration file in `cfg/cfg.py`.\n\n## Configuration\n\nEnsure you have a configuration file `cfg/cfg.py` that provides necessary configurations such as API keys, paths, and other settings.\n\n## Running the Flow\n\nTo run the YouTube to Webflow synchronization flow, execute the following command:\n    ```sh\n    python flow.py\n    ```\n\n## Flow Details\n\nThe flow consists of the following main tasks:\n\n1. **Load Configurations**: Loads the necessary configurations from `cfg/cfg.py`.\n2. **Fetch YouTube Videos**: Fetches YouTube videos using the YouTube API.\n3. **Fetch Existing Webflow Items**: Retrieves existing items from Webflow CMS.\n4. **Process Videos**: For each video:\n    - Checks if the video exists in BunnyCDN.\n    - If not, downloads and uploads the video to BunnyCDN.\n    - Creates or updates the Webflow CMS item with the video details.\n\n## Logging\n\nThe flow uses Python's `logging` module to log debug information. Ensure that logging is configured properly to capture these logs.\n\n## Additional Information\n\nFor more details on the individual tasks and their implementations, refer to the `flow.py` file in the repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaltiola7%2Fyoutube_live_stream_to_webflow_post","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaltiola7%2Fyoutube_live_stream_to_webflow_post","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaltiola7%2Fyoutube_live_stream_to_webflow_post/lists"}