Goon — self-hosted aggregator for adult-content scene metadata. Indexes scenes from TPDB, StashDB, and 30+ public adult tube sites. Cross-source deduplication via perceptual hash + Levenshtein distance. FastAPI backend + APScheduler worker + React Native (Expo) mobile client. FOSS, ad-free, donation-funded. See README for details.
21 lines
646 B
Python
21 lines
646 B
Python
"""xxxfree.watch — direct HTML scrape.
|
|
|
|
Domain: `xxxfree.watch` (sitetag `xxxfreewatch` is legacy from porn-app DEFAULT_SITETAGS).
|
|
|
|
Search: `https://xxxfree.watch/page/<n>/?s=<q>`.
|
|
Scene URL: `https://xxxfree.watch/<slug>/`.
|
|
"""
|
|
from __future__ import annotations
|
|
|
|
import re
|
|
|
|
from app.connectors.direct_scrapers._search_base import BaseSearchScraper
|
|
|
|
|
|
class XxxFreeWatchScraper(BaseSearchScraper):
|
|
sitetag = "xxxfreewatch"
|
|
_search_url_template = "https://xxxfree.watch/page/{page}/?s={query}"
|
|
_scene_url_re = re.compile(
|
|
r'href="(?P<url>https://xxxfree\.watch/(?P<slug>[a-z0-9][a-z0-9\-]+))/"',
|
|
re.IGNORECASE,
|
|
)
|