{"id":13579362,"url":"https://github.com/Zeeshanahmad4/Threads-Scraper","last_synced_at":"2025-04-05T20:33:55.369Z","repository":{"id":180117154,"uuid":"664613978","full_name":"Zeeshanahmad4/Threads-Scraper","owner":"Zeeshanahmad4","description":"A Social media scraper for threads.net , The scraper allows you to collect various information about threads and users on Threads.","archived":false,"fork":false,"pushed_at":"2024-08-25T23:14:53.000Z","size":33,"stargazers_count":35,"open_issues_count":4,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-01T09:37:11.678Z","etag":null,"topics":["selenium-thread-scraper","thread-script","threads","threads-bio","threads-bot","threads-crawler","threads-data-download","threads-data-scraper","threads-follow-scraper","threads-login","threads-photos-downloader","threads-pictures-scraper","threads-profile-scraper","threads-scraper","threads-scraper-software","threads-scraper-tool","threads-scraping"],"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/Zeeshanahmad4.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-07-10T11:15:17.000Z","updated_at":"2025-04-01T01:06:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a63c61d-a179-4dd6-8534-bdfc74f409d5","html_url":"https://github.com/Zeeshanahmad4/Threads-Scraper","commit_stats":null,"previous_names":["zeeshanahmad4/threads-scraper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeeshanahmad4%2FThreads-Scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeeshanahmad4%2FThreads-Scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeeshanahmad4%2FThreads-Scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeeshanahmad4%2FThreads-Scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zeeshanahmad4","download_url":"https://codeload.github.com/Zeeshanahmad4/Threads-Scraper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399876,"owners_count":20932876,"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":["selenium-thread-scraper","thread-script","threads","threads-bio","threads-bot","threads-crawler","threads-data-download","threads-data-scraper","threads-follow-scraper","threads-login","threads-photos-downloader","threads-pictures-scraper","threads-profile-scraper","threads-scraper","threads-scraper-software","threads-scraper-tool","threads-scraping"],"created_at":"2024-08-01T15:01:38.699Z","updated_at":"2025-04-05T20:33:50.359Z","avatar_url":"https://github.com/Zeeshanahmad4.png","language":"Python","readme":"\n## Features 🚀\n\nA Software that scrapes the following sections from threads:\n\n- Fetch user's and thread's unique identifiers.\n- Retrieve user's details, threads, and replies.\n- Retrieve thread's details and its likers.\n- Save the fetched data into CSV and JSON files.\n\n## :file_folder: File Structure\n\n- `base_interface.py`: Provides a basic interface for interacting with Threads.\n- `threads_interface.py`: A public interface for the scraper with methods for fetching and saving data.\n\n## :rocket: How to Use\n\nExample:\n\n1. Import the `ThreadsInterface` class from `threads_interface.py`.\n2. Create an instance of the `ThreadsInterface` class.\n3. Use the instance to call the methods for fetching and saving data.\n\n## Output\n\n1. **Scrape User ID**\n    \n    - Input: `username`\n    - Output: `user_id`\n    - Example:\n        - Input: `john_doe`\n        - Output: `12345`\n2. **Scrape Thread ID**\n    \n    - Input: `url_id` (last part of a thread's URL)\n    - Output: `thread_id`\n    - Example:\n        - Input: `CuXFPIeLLod`\n        - Output: `54321`\n3. **Fetch User**\n    \n    - Input: `user_id`\n    - Output: User information in JSON format\n    - Example:\n        - Input: `12345`\n        - Output: `{ \"username\": \"john_doe\", \"email\": \"johndoe@example.com\", \"date_joined\": \"2022-01-01\" }`\n4. **Fetch User Threads**\n    \n    - Input: `user_id`\n    - Output: List of threads posted by the user in JSON format\n    - Example:\n        - Input: `12345`\n        - Output: `[{ \"thread_id\": \"54321\", \"title\": \"My first thread\", \"date_posted\": \"2022-02-02\" }, {...}]`\n5. **Fetch User Replies**\n    \n    - Input: `user_id`\n    - Output: List of replies posted by the user in JSON format\n    - Example:\n        - Input: `12345`\n        - Output: `[{ \"reply_id\": \"4321\", \"thread_id\": \"54321\", \"content\": \"Great thread!\", \"date_posted\": \"2022-02-03\" }, {...}]`\n6. **Fetch Thread**\n    \n    - Input: `thread_id`\n    - Output: Thread information in JSON format\n    - Example:\n        - Input: `54321`\n        - Output: `{ \"title\": \"My first thread\", \"content\": \"Hello, world!\", \"date_posted\": \"2022-02-02\" }`\n7. **Fetch Thread Likers**\n    \n    - Input: `thread_id`\n    - Output: List of users who liked the thread in JSON format\n    - Example:\n        - Input: `54321`\n        - Output: `[{ \"user_id\": \"12345\", \"username\": \"john_doe\" }, {...}]`\n8. **Generate Scraper Token**\n    \n    - Input: None\n    - Output: A token for the Thread Scraper\n    - Example:\n        - Input: None\n        - Output: `abc123def456ghi789`\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZeeshanahmad4%2FThreads-Scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FZeeshanahmad4%2FThreads-Scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZeeshanahmad4%2FThreads-Scraper/lists"}