{"id":16461683,"url":"https://github.com/marabesi/social-crawler","last_synced_at":"2026-03-02T17:34:22.318Z","repository":{"id":62523666,"uuid":"49388587","full_name":"marabesi/social-crawler","owner":"marabesi","description":"Easy way to find emails from social networks","archived":false,"fork":false,"pushed_at":"2019-05-20T06:45:23.000Z","size":610,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-29T04:42:52.694Z","etag":null,"topics":["crawler","emails","php","social-crawler","social-network"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/marabesi.png","metadata":{"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":"2016-01-10T22:31:41.000Z","updated_at":"2018-10-21T17:34:28.000Z","dependencies_parsed_at":"2022-11-02T10:45:21.767Z","dependency_job_id":null,"html_url":"https://github.com/marabesi/social-crawler","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/marabesi/social-crawler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marabesi%2Fsocial-crawler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marabesi%2Fsocial-crawler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marabesi%2Fsocial-crawler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marabesi%2Fsocial-crawler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marabesi","download_url":"https://codeload.github.com/marabesi/social-crawler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marabesi%2Fsocial-crawler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267476454,"owners_count":24093515,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["crawler","emails","php","social-crawler","social-network"],"created_at":"2024-10-11T11:09:03.140Z","updated_at":"2026-03-02T17:34:17.284Z","avatar_url":"https://github.com/marabesi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Codacy Badge](https://api.codacy.com/project/badge/Grade/b551c6697f3647948421f59603d05f5f)](https://www.codacy.com/app/matheus-marabesi/social-crawler?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=marabesi/social-crawler\u0026utm_campaign=badger)\n[![Build Status](https://travis-ci.org/marabesi/social-crawler.svg?branch=master)](https://travis-ci.org/marabesi/social-crawler)\n\n# Social Crawler\n\nFind emails from socials network !\n\n## Dependency\n\n* Google URL\n* Monolog\n\n## Find e-mails from Gmail in Instagram\n\nDefine which email you're going to find and where you want to search, in out example we're going to find\nemail from gmail in **Instagram**\n\n``` php\n$factory = new \\SocialCrawler\\Domain\\Factory();\n$email = $factory-\u003ecreate(\\SocialCrawler\\Domain\\Gmail::GMAIL);\n\n$source =  new \\SocialCrawler\\Domain\\Source\\Instagram();\n```\n\nThen just execute the search with **GoogleUrl**\n\n``` php\n$engine = new \\GoogleUrl();\n$search = new \\SocialCrawler\\Domain\\Container($engine, $source);\n\n$result = $search-\u003eretrieveDataFromSource($email, $page)\n    -\u003egetResultSet();\n```\n\nAs a last step iterate over the result to get the emails\n\n``` php\n\nforeach ($result as $object) {\n    try {\n        print $email-\u003efind($object-\u003egetTitle()) . '\u003cbr/\u003e';\n    } catch (\\Exception $exception) {\n        //print \"Couldn't find email in the object in the title ({$object-\u003egetTitle()}) \u003cbr/\u003e\";\n    } finally {\n        try {\n           print $email-\u003efind($object-\u003egetSnippet()) . '\u003cbr/\u003e';\n        } catch (\\Exception $exception) {\n            //print \"Couldn't find email in the object in the snippet ({$object-\u003egetSnippet()}) \u003cbr/\u003e\";\n        }\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarabesi%2Fsocial-crawler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarabesi%2Fsocial-crawler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarabesi%2Fsocial-crawler/lists"}