{"id":23366563,"url":"https://github.com/dmptrluke/python-furaffinity","last_synced_at":"2026-03-10T09:41:00.944Z","repository":{"id":22455688,"uuid":"96298044","full_name":"dmptrluke/python-furaffinity","owner":"dmptrluke","description":"A Python library for browsing, searching, and scraping from Fur Affinity","archived":false,"fork":false,"pushed_at":"2025-06-13T01:15:45.000Z","size":37,"stargazers_count":3,"open_issues_count":9,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-13T02:27:44.866Z","etag":null,"topics":["python","python3","scraper"],"latest_commit_sha":null,"homepage":"","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/dmptrluke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2017-07-05T08:47:38.000Z","updated_at":"2024-05-13T06:11:27.000Z","dependencies_parsed_at":"2023-02-16T22:15:58.267Z","dependency_job_id":"cacb093f-101e-475a-be20-f3cc1b98ce11","html_url":"https://github.com/dmptrluke/python-furaffinity","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dmptrluke/python-furaffinity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmptrluke%2Fpython-furaffinity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmptrluke%2Fpython-furaffinity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmptrluke%2Fpython-furaffinity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmptrluke%2Fpython-furaffinity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmptrluke","download_url":"https://codeload.github.com/dmptrluke/python-furaffinity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmptrluke%2Fpython-furaffinity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30328919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["python","python3","scraper"],"created_at":"2024-12-21T14:16:33.571Z","updated_at":"2026-03-10T09:41:00.884Z","avatar_url":"https://github.com/dmptrluke.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-furaffinity [![Build Status](https://travis-ci.org/dmptrluke/python-furaffinity.svg?branch=master)](https://travis-ci.org/dmptrluke/python-furaffinity)\n\nA Python library for browsing, scraping and downloading content from Fur Affinity.\nThis project is still under heavy development, so don't expect it to be finished quite yet.\n\nThis requires **Python 3.5**. Your account must also be set to the **Beta** theme for this to work at all.\n\n## How do I use this?\n\nProper documentation will be coming (eventually), but here is  a short demonstration script\nthat should help you get the idea of what this library can do.\n\n ```python\n\"\"\"\"\nA demo script that searches FA for submissions tagged \"cat\" and \"dancing\",\n loops over them, and saves them to folders sorted by artist\n\"\"\"\nimport furaffinity\nimport time\n\nCOOKIES = {\n    \"a\": \"YOUR A COOKIE FROM FA\",\n    \"b\": \"YOUR B COOKIE FROM FA\"\n}\n\nsession = furaffinity.FurAffinity(useragent=\"python-furaffinity\")\nsession.login_cookies(COOKIES)\n\nresults = session.search_tags(\"cat\", \"dancing\")\n\nfor result in results:\n    if not result.kind == \"image\":\n        continue\n\n    # get the FA submission\n    submission = session.get_submission(result)\n\n    # figure out where to save it\n    location = f\"./output/\" + submission.uploader + \"/\" + submission.file.filename\n\n    # save it, skip the download if the file already exists\n    # (we could use replace=True if we want it to replace existing files instead)\n    submission.file.download(location, skip=True)\n\n    # be nice! don't thrash the servers\n    time.sleep(1)\n```\n\n## License\n**python-furaffinity** is licensed under the **MIT** license. The terms are as follows.\n\n```\nMIT License\n\nCopyright (c) 2017 Luke R \u003cme+opensouce@dmptr.com\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n\nParts of **python-furaffinity** are based off **[WTFPL](http://www.wtfpl.net/about/)** code from\n[anonymph/furaffinity-scraper-network](https://bitbucket.org/anonymph/furaffinity-scraper-network).\n\nTry not to break the servers.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmptrluke%2Fpython-furaffinity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmptrluke%2Fpython-furaffinity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmptrluke%2Fpython-furaffinity/lists"}