{"id":16365346,"url":"https://github.com/aliosmandev/python-101","last_synced_at":"2026-05-08T01:38:46.605Z","repository":{"id":242586486,"uuid":"809969426","full_name":"aliosmandev/python-101","owner":"aliosmandev","description":"A simple Twitter scraper built with FastAPI and Selenium. This project allows you to scrape tweets from a specified Twitter user, retrieving the profile title and posts in JSON format.","archived":false,"fork":false,"pushed_at":"2024-06-03T21:02:44.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T21:19:07.429Z","etag":null,"topics":["fastapi","python","scraping","selenium","swagger","twitter"],"latest_commit_sha":null,"homepage":"","language":"Python","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/aliosmandev.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":"2024-06-03T19:53:27.000Z","updated_at":"2024-12-24T19:25:39.000Z","dependencies_parsed_at":"2024-06-03T23:15:32.234Z","dependency_job_id":null,"html_url":"https://github.com/aliosmandev/python-101","commit_stats":null,"previous_names":["osmandlsmn/python-101","aliosmandev/python-101"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliosmandev%2Fpython-101","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliosmandev%2Fpython-101/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliosmandev%2Fpython-101/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliosmandev%2Fpython-101/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aliosmandev","download_url":"https://codeload.github.com/aliosmandev/python-101/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239809627,"owners_count":19700654,"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":["fastapi","python","scraping","selenium","swagger","twitter"],"created_at":"2024-10-11T02:43:23.610Z","updated_at":"2026-02-12T11:30:16.121Z","avatar_url":"https://github.com/aliosmandev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Twitter Scrape\n\n## Overview\nThis project is a simple Twitter scraper built with FastAPI and Selenium. It allows you to scrape tweets from a specified Twitter user.\n\n## Features\n- Scrape tweets from a Twitter user.\n- Retrieve the profile title and posts.\n- Asynchronous processing with FastAPI.\n- JSON response with scraped data.\n\n## Requirements\n- Python 3.8+\n- Selenium\n- FastAPI\n- Uvicorn\n- WebDriver (e.g., ChromeDriver)\n\n## Installation\n\n### 1. Clone the repository:\n\n```sh\ngit clone https://github.com/osmandlsmn/python-101.git\ncd twitter-scrape\n```\n\n### 2. Create and activate a virtual environment:\n\n```sh\npython -m venv venv\nsource venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n```\n\n### 3. Install the requirements:\n\n```sh\npip install -r requirements.txt\n```\n\n### 4. Run the application:\n\n```sh\nmake run\n```\n\n#### Alternatively, you can run the application directly with Uvicorn:\n\n```sh\nuvicorn src.main:app --host 0.0.0.0 --port 3000 --reload\n````\n\n### Project Structure\n\n```\ntwitter-scrape/\n├── src/\n│   ├── main.py\n│   └── utils/\n│       └── selectors.py\n├── requirements.txt\n├── Makefile\n└── README.md\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliosmandev%2Fpython-101","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faliosmandev%2Fpython-101","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliosmandev%2Fpython-101/lists"}