{"id":24054351,"url":"https://github.com/kindermax/socialwar","last_synced_at":"2026-06-10T18:32:16.442Z","repository":{"id":143882398,"uuid":"468722932","full_name":"kindermax/socialwar","owner":"kindermax","description":"Example project to work with social sites using selenium. Do not use it under any circumstances.","archived":false,"fork":false,"pushed_at":"2022-03-11T11:26:35.000Z","size":11904,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-26T10:32:42.099Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kindermax.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":"2022-03-11T11:25:12.000Z","updated_at":"2022-03-11T11:26:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"f150f6cb-0cfc-4995-a18b-d98fe614780a","html_url":"https://github.com/kindermax/socialwar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kindermax/socialwar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindermax%2Fsocialwar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindermax%2Fsocialwar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindermax%2Fsocialwar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindermax%2Fsocialwar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kindermax","download_url":"https://codeload.github.com/kindermax/socialwar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindermax%2Fsocialwar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34165482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":[],"created_at":"2025-01-09T03:04:32.205Z","updated_at":"2026-06-10T18:32:16.437Z","avatar_url":"https://github.com/kindermax.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SocialWar\n\nSend messages to ok.ru users.\n\n**`Caution:` this project created only to show example how to use tools to work with social sites. Do not use it under any circumstances.**\n\n\n## activate virtual env\n\n$ python3.8 -m venv env \u003cbr\u003e\n$ ./env/bin/python -m pip install -r ./requirements.txt \u003cbr\u003e\n$ chmod +x env/bin/activate \u003cbr\u003e \n$ source env/bin/activate \u003cbr\u003e\n$ pytest -s --headless\n\n## run tests in parallel\npytest -s -n $num_of_threads --headless \n\n## how to run\n\n`pytest -s test_generate_cookies` - will login and generate cookies for all accounts. This will save some time since we do not need to login every time we want to send message.\n\nBut you can use `self.login_by_password` if you want to login for each message.\n\nNext, run `test_send_message` test. It will read cookies (or accounts) and will try to send messages to users located in `files/ok_files/users.txt` (each line is user id). Then\n\nAt each iteration `move_user_cursor` will be called and store user id in either `files/ok_files/users_done.txt` or `files/ok_files/users_failed.txt`.\n\nTest will send `get_users()[:3]` for each cookie and then stop.\nThis means not more than 3 messages from one session otherwise account can be blocked.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkindermax%2Fsocialwar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkindermax%2Fsocialwar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkindermax%2Fsocialwar/lists"}