{"id":15834453,"url":"https://github.com/edsu/luckysocial","last_synced_at":"2025-03-15T08:31:55.619Z","repository":{"id":54938269,"uuid":"293276480","full_name":"edsu/luckysocial","owner":"edsu","description":"googles for a name and looks for social links in the first result","archived":false,"fork":false,"pushed_at":"2021-01-20T22:04:59.000Z","size":32,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-12T14:02:56.515Z","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/edsu.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":"2020-09-06T12:53:25.000Z","updated_at":"2022-01-11T15:22:44.000Z","dependencies_parsed_at":"2022-08-14T07:01:10.511Z","dependency_job_id":null,"html_url":"https://github.com/edsu/luckysocial","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fluckysocial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fluckysocial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fluckysocial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fluckysocial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edsu","download_url":"https://codeload.github.com/edsu/luckysocial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243707282,"owners_count":20334613,"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-10-05T14:01:29.824Z","updated_at":"2025-03-15T08:31:55.011Z","avatar_url":"https://github.com/edsu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# luckysocial\n\nThis is a small utility that will lookup a name at Google to find its homepage\nand then look for social media accounts on the page (twitter, facebook,\ninstagram, youtube, and rss). This is rolling the dice a little bit because the\ntop ranked result is assumed to be the homepage for the name. It was really just\na proof of concept for looking up organization names, which you can read more\nabout [here](https://inkdroid.org/2020/09/05/organizations-on-twitter/).\n\nYou can run luckysocial on one name, or you can give it CSV file and it will add\nrelevant columns to it. As examples you can look at the included\n[data.csv](https://github.com/edsu/luckysocial/blob/master/example/data.csv) and\n[data-new.csv](https://github.com/edsu/luckysocial/blob/master/example/data-new.csv)\nto see what the input and output can look like.\n\n## Install\n\nFirst you need to install some things like [Python3](https://python.org), and\nthen install luckysocial:\n\n    pip install luckysocial\n\n## Run\n\nIf you want to look up information about a single name you can:\n\n    % luckysocial \"uc santa barbara\"\n\n    name: uc santa barbara\n    homepage: https://www.ucsb.edu/\n    twitter: https://twitter.com/ucsantabarbara\n    facebook: https://www.facebook.com/ucsantabarbara\n    instagram: https://www.instagram.com/ucsantabarbara\n\nOr you can annotate a CSV file by giving it the path to your CSV file (it will\nlook for a `name` column).\n\n    luckysocial data.csv\n\nAfter it finishes you should see a data-new.csv file with the new columns.\n\nIf you have a differently named name column you can use the --name-col option:\n\n    luckysocial --name-col \"Org Name\" data.csv\n\nIf you happen to know the homepage for the name already and want to skip the\nGoogle lookup you can use the `--url-col` parameter:\n\n    luckysocial --url-col \"Web Locationn\" data.csv\n\n## Develop\n\nI'm sure that the logic for finding the accounts on a page could be improved.\nIf you'd like to test it out you can run the test suite:\n\n    python setup.py test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedsu%2Fluckysocial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedsu%2Fluckysocial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedsu%2Fluckysocial/lists"}