The latest releases from your favorite porn studios in one place.
Go to file
DebaucheryLibrarian 5deba6b90f Passing resolved parameters into before-scrape methods. 2022-02-25 22:13:41 +01:00
assets Fixed entity scenes function for studios. Added triple anal tag alias. 2022-02-25 00:00:18 +01:00
config Passing resolved parameters into before-scrape methods. 2022-02-25 22:13:41 +01:00
docs Added sections and pagination to stash page. 2021-09-12 00:05:45 +02:00
log Added Babes network 2020-01-14 01:50:11 +01:00
migrations Fixed entity scenes function for studios. Added triple anal tag alias. 2022-02-25 00:00:18 +01:00
public/img Renamed LegalPorno to AnalVids, added missing studios. 2022-02-24 23:28:24 +01:00
seeds Fixed entity scenes function for studios. Added triple anal tag alias. 2022-02-25 00:00:18 +01:00
src Passing resolved parameters into before-scrape methods. 2022-02-25 22:13:41 +01:00
.babelrc Added source maps. Fixed DDFNetwork avatar and improved photo fetch error handling. 2019-12-10 00:30:55 +01:00
.editorconfig Switched to tabs. Adding missing actor entries when scraping actors, with batch ID. 2020-05-14 04:26:05 +02:00
.eslintignore Updated GraphQL queries to Datetime. Updated template to latest guideline. 2020-07-16 15:55:03 +02:00
.eslintrc Changed release media association existence check, added log for details. 2022-01-28 04:05:29 +01:00
.gitignore Reusing batch ID for movies to preserve new-flag. 2022-01-20 00:54:10 +01:00
.nvmrc Updated dependencies. Added periodic memory logger. 2021-11-20 23:59:48 +01:00
README.md Removed PG stop word dictionary. Filtering and ordering search results in GraphQL query. 2021-02-26 01:52:28 +01:00
knexfile.js Added stashes with experimental row security policies. Added tag photos. 2021-03-14 04:54:53 +01:00
package-lock.json 1.209.3 2022-02-25 00:00:21 +01:00
package.json 1.209.3 2022-02-25 00:00:21 +01:00
traxxx Added Zero Tolerance channel to network. 2021-01-22 00:26:06 +01:00
webpack.config.js Updated dependencies. Added periodic memory logger. 2021-11-20 23:59:48 +01:00

README.md

Traxxx

NSFW - The latest releases from your favorite porn studios in one place.

Install & run

Use nvm to install NodeJS v14.15.4 or newer. Download and unpack or clone this repository, and run the following in the root directory:

npm install

Set up database

Install PostgreSQL, make sure password authentication is enabled (scram-sha-256) and create a database with a privileged user.

Configuration

Do not modify config/default.js, but instead create a copy at config/local.js containing the properties you wish to change. If you have set NODE_ENV, copy assets/js/config/default.js to assets/js/config/[environment].js. After setting up PostgreSQL and configuring the details, run the following commands to create and populate the tables, and build the project:

npm run migrate

npm run seed

You can also use npm run flush to run both steps at once, and wipe the database completely later.

Networks and channels

To scrape the networks and channels available in the database, you can configure include and exclude lists. To include all available channels and only use the exclude list, leave the include parameter unconfigured. The exclude lists will exclude channels and child networks from networks on the include lists, but not vice versa. That is, if the include list includes a network and the exclude list excludes one of that network's channels, the channel will not be scraped. However, if the include list includes a channel, and the exclude list includes its parent network, the channel will be scraped.

This configuration will scrape Evil Angel and all XEmpire channels, except for LesbianX.

include: {
	networks: [
		'xempire',
	],
	channels: [
		'evilangel',
	],
},
exclude: {
	channels: [
		'lesbianx',
	],
}

This configuration will scrape all channels, except for BAM Visions, and except all channels part of the Vixen network.

exclude: {
	channels: [
		'bamvisions',
	],
	networks: [
		'vixen'
	],
},

Building

To build traxxx, run the following command:

npm run build

To generate thumbnails for new logos and tag photos, install ImageMagick and run:

npm run logos-thumbs

npm run tags-thumbs

Run

./traxxx --option value or npm start -- --option value

  • --server: Run the web server

Channels

  • --channels [slug] [slug]: Fetch updates from specific channels. The slug is the channel's name in lowercase and without cases or special characters. For example, Teens Like It Big is teenslikeitbig. Overrides configured included networks and channels.
  • --networks [slug] [slug]: Fetch updates from all sites of a specific network. The network slug is composed similarly to the channel slug. Overrides configured included networks and channels.
  • --exclude-channels [slug] [slug]: Scrape every configured, specified or available channel, except for specified. Overrides configured excluded channels.
  • --exclude-networks [slug] [slug]: Scrape every configured, specified or available network, except for specified. Overrides configured excluded networks.
  • --after "[time]": Do not fetch scenes older than this period or date. Example values are: "1 month", "3 years", "2019-01-01".
  • --scene [URL]: Try to retrieve scene details from its official channel or network URL.
  • --deep: Follow each release link found running --channel or --network and scrape it for more details. Enabled by default ; use --no-deep to only save information found on the overview pages.

Actors

  • --actors "[name]" "[name]": Fetch actor profiles. When no names are specified, actors without existing profiles are scraped
  • --actors-file [filepath]: Fetch all scenes for the actors specified in a file using a newline delimiter.
  • --actors-sources [slug] [slug]: Scrapers to use for actor profiles. Defaults to config.
  • --actors-update [time]: Update actors that don't have any profiles newer than period ("1 month") or date (2020-08-01). Using this argument without a value will default to 1900-01-01, practically updating all actors.
  • --actors-scenes: Fetch all scenes for scraped actors. Use with caution, as an actor may have many scenes.
  • --scene-actors: Fetch profiles for actors associated with scraped scenes. Use with caution, as scenes may have many actors, each with many profiles.

Developers

  • --no-save: Do not store retrieved information in local database, forcing re-fetch.
  • --level: Change log level to silly, verbose, info, warn or error.
  • --delete-scenes: Delete scenes and assets by ID.
  • --delete-movies: Delete movies and assets by ID.
  • --flush-network: Delete all scenes and movies with assets from all network channels
  • --flush-channel: Delete all scenes and movies with assets from a channel
  • --flush-batch: Delete all scenes and movies with assets from a batch ID
  • --flush-media: Delete temporary media directory and all unassociated media entries and files

API

A GraphQL API is available at /graphql, and a REST API is available at the following GET endpoints:

  • /api/scenes: Fetch the latest releases. Supports search with query or q parameter;
  • /api/scenes/{ID}: Fetch scene by ID.
  • /api/actors: Fetch actors. Search query or q parameter required.
  • /api/actors/{ID|slug}: Fetch detailed actor by ID or slug.
  • /api/entities: Fetch networks and channels. Use the type parameter to filter for either channels or networks.
  • /api/entities/{ID|slug}: Fetch detailed network or channel by ID. To fetch by slug, the type parameter must specify either channel or network.
  • /api/channels: Fetch channel entities. Supports the q or query parameter for searching.
  • /api/channels/{ID|slug}: Fetch detailed channel by ID or slug.
  • /api/networks: Fetch networks. Supports a q or query parameter for searching.
  • /api/networks/{ID|slug}: Fetch detailed network by ID or slug.
  • /api/tags: Fetch tags.
  • /api/tags/{ID|slug|name}: Fetch detailed tag by ID, slug or name.

Supported networks & sites

1121 channels on 83 networks, continuously expanding!

  • 21Naturals
  • 21Sextreme
  • 21Sextury
  • Adult Time
  • Amateur Allure
  • Amateur Euro
  • American Pornstar
  • Assylum
  • Aziani (Gangbang Creampies)
  • Babes
  • Bang!
  • Bang Bros
  • Blowpass
  • Brazzers
  • Burning Angel
  • Cherry Pimps
  • CzechAV
  • DDF Network / Porn World
  • Digital Playground
  • Dogfart Network
  • Dorcel
  • Elegant Angel
  • Evil Angel
  • Fake Hub
  • Fame Digital
  • Fantasy Massage
  • FCUK (Exploited College Girls)
  • First Anal Quest
  • ForBondage
  • Full Porn Network (Analized, James Deen)
  • Gaywire
  • Girlsway
  • Hitzefrei
  • Hookup Hotshot
  • Hush Pass
  • Hussie Pass
  • In The Crack
  • Insex
  • Interracial Pass
  • JayRock Productions
  • Jesse Loads Monster Facials
  • Jules Jordan
  • Karups
  • Kelly Madison Media (Teen Fidelity)
  • Killergram
  • Kink
  • LegalPorno
  • LetsDoeIt
  • Little Caprice Dreams
  • Mamacitaz
  • Men
  • Metro HD
  • Mike Adriano
  • Mile High Media
  • MOFOS
  • Naughty America
  • New Sensations
  • Nubiles
  • Pascal's Sub Sluts
  • Perfect Gonzo
  • Perv City
  • Pimp.XXX
  • Pinky XXX
  • Porn Pros
  • PornCZ
  • Private
  • Pure Taboo
  • Reality Kings
  • SCORE
  • Sexy Hub
  • Team Skeet
  • Teen Core Club
  • TransBella
  • Twistys
  • VIP Sex Vault
  • Vivid
  • Vixen
  • VogoV
  • Whale Member (Holed, POVD)
  • Wicked
  • XEmpire
  • ZTOD