{"repo":"FurryCoders/FAAPI","free":true,"listed":false,"github":"https://github.com/FurryCoders/FAAPI","clone":"git clone https://github.com/FurryCoders/FAAPI.git","description":"Python library to implement API-like functionality for the FurAffinity.net website.","language":"Python","stars":26,"topics":["furaffinity","python3","scraper","api"],"license":"EUPL-1.2","category":"scrapers-browser-automation","readme_excerpt":"Fur Affinity API Python library to implement API-like functionality for the Fur Affinity website. Requirements Python 3.9+ is necessary to run this library. Poetry is used for packaging and dependency management. Usage The API comprises a main class FAAPI , two submission classes Submission and SubmissionPartial , a journal class Journal , and a user class User . Once FAAPI is initialized, its methods can be used to crawl FA and return parsed objects. robots.txt At init, the FAAPI object downloads the robots.txt file from FA to determine the Crawl-delay and disallow values set therein. If not set in the robots.txt file, a crawl delay value of 1 second is used. To respect this value, the default behaviour of the FAAPI object is to wait when a get request is made if the last request was performed more recently then the crawl delay value. See under FAAPI for more details on this behaviour. Furthermore, any get operation that points to a disallowed path from robots.txt will raise an exception. This check should not be circumvented, and the developer of this library does not take responsibility for violations of the TOS of Fur Affinity. Cookies To access protected pages, cookies from an active session are needed. These cookies can be given to the FAAPI object as a list of dictionaries - each containing a name and a value field -, or as a http.cookiejar.CookieJar object ( requests.cookies.RequestsCookieJar and other objects inheriting from CookieJar are also supported). The cookies","default_branch":null,"files":null,"tree":[],"storefront":"/r/FurryCoders","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/FurryCoders/FAAPI/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}