forked from DebaucheryLibrarian/traxxx
				
			Fixed some Gamma scene scrapers.
This commit is contained in:
		
							parent
							
								
									1fc67704dc
								
							
						
					
					
						commit
						6938e88fbf
					
				
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.2 MiB | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 8.6 KiB | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 948 KiB | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 39 KiB | 
|  | @ -685,6 +685,7 @@ const tagPhotos = [ | |||
| 	['69', 2, 'Abigail Mac and Kissa Sins in "Lesbian Anal Workout" for HardX'], | ||||
| 	['airtight', 7, 'Lana Rhoades in "Gangbang Me 3" for HardX'], | ||||
| 	['airtight', 6, 'Remy Lacroix in "Ass Worship 14" for Jules Jordan'], | ||||
| 	['airtight', 10, 'Asa Akira in "Asa Akira To The Limit" for Jules Jordan'], | ||||
| 	['airtight', 8, 'Veronica Leal in LegalPorno SZ2520'], | ||||
| 	['airtight', 5, 'Chloe Amour in "DP Masters 4" for Jules Jordan'], | ||||
| 	['airtight', 3, 'Anita Bellini in "Triple Dick Gangbang" for Hands On Hardcore (DDF Network)'], | ||||
|  |  | |||
|  | @ -2,8 +2,8 @@ | |||
| 
 | ||||
| const { fetchScene, fetchLatest, fetchUpcoming, fetchProfile } = require('./gamma'); | ||||
| 
 | ||||
| async function fetchSceneWrapper(url, site, baseRelease) { | ||||
| 	const release = await fetchScene(url, site, baseRelease); | ||||
| async function fetchSceneWrapper(url, site, baseRelease, options) { | ||||
| 	const release = await fetchScene(url, site, baseRelease, options); | ||||
| 
 | ||||
| 	if (site.isNetwork && release.channel) { | ||||
| 		const channelUrl = url.replace('blowpass.com', `${release.channel}.com`); | ||||
|  |  | |||
|  | @ -2,7 +2,6 @@ | |||
| 
 | ||||
| const { fetchLatest, fetchUpcoming, fetchScene } = require('./gamma'); | ||||
| 
 | ||||
| 
 | ||||
| module.exports = { | ||||
| 	fetchLatest, | ||||
| 	fetchScene, | ||||
|  |  | |||
|  | @ -3,10 +3,10 @@ | |||
| const { fetchLatest, fetchUpcoming, scrapeScene, fetchProfile } = require('./gamma'); | ||||
| const http = require('../utils/http'); | ||||
| 
 | ||||
| async function fetchScene(url, site) { | ||||
| async function fetchScene(url, site, baseRelease, options) { | ||||
| 	const res = await http.get(url); | ||||
| 
 | ||||
| 	const release = await scrapeScene(res.body.toString(), url, site); | ||||
| 	const release = await scrapeScene(res.body.toString(), url, site, baseRelease, null, options); | ||||
| 
 | ||||
| 	const siteDomain = release.$('meta[name="twitter:domain"]').attr('content') || 'allblackx.com'; // only AllBlackX has no twitter domain, no other useful hints available
 | ||||
| 	const siteSlug = siteDomain && siteDomain.split('.')[0].toLowerCase(); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue