{"repo":"rodrigogs/xvideos","free":true,"listed":false,"github":"https://github.com/rodrigogs/xvideos","clone":"git clone https://github.com/rodrigogs/xvideos.git","description":"xvideos API library","language":"TypeScript","stars":302,"topics":["xvideos","porn","api","library","npm","nodejs","crawler","scrapper"],"license":"BSD-3-Clause","category":"scrapers-browser-automation","readme_excerpt":"xvideos A Node.js library for the xvideos.com API. Requires Node.js 20+. Installation Usage Crawl ergonomics xvideos.configure({ minRequestIntervalMs, proxyUrl }) Configures process-wide request behavior. Applies to every request the library makes from this process (all videos. methods, list and detail alike). minRequestIntervalMs is shared process-wide: the largest configured interval across all clients wins and cannot be lowered afterwards (per-client options raise it further; resetSharedThrottle is exposed from base.ts for full reset). proxyUrl can also be passed per client via RequestOptions when you do not want a global proxy. Note for CommonJS consumers: require('@rodrigogs/xvideos').configure(...) returns a Promise (the CJS entry loads the ESM build lazily) — await it or chain .then() before firing requests to guarantee the config is applied first. Development Real-HTML fixtures under test/fixtures/ pin the current site layout. If a fixture test fails after an XVIDEOS layout change, regenerate with scripts/refresh-fixtures.sh and commit the diff. Migration Notes Version 3.2 category browsing and crawl ergonomics This release is additive: - videos.category({ category, page }) — category video listings by slug ( /c/ ), with 404 handling that surfaces an empty listing for unknown categories - xvideos.configure({ minRequestIntervalMs, proxyUrl }) — process-wide crawl ergonomics: a shared minimum interval between request starts (rate limiting, shared across all clients) and","default_branch":null,"files":null,"tree":[],"storefront":"/r/rodrigogs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rodrigogs/xvideos/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."}