forked from DebaucheryLibrarian/traxxx
				
			Added cap image type expectation to Aziani.
This commit is contained in:
		
							parent
							
								
									035c59255c
								
							
						
					
					
						commit
						535864bdd1
					
				|  | @ -51,7 +51,12 @@ function scrapeScene(data, channel, parameters) { | |||
| 				? Object.keys(item.thumb).toSorted((keyA, keyB) => keyB.split('-')[0] - keyA.split('-')[0]).map((key) => item.thumb[key][0]).filter(Boolean) | ||||
| 				: []), | ||||
| 		]) | ||||
| 		.map((sources) => sources.map((source) => unprint.prefixUrl(`${source.fileuri}?${source.signature}`, parameters.cdn))); | ||||
| 		.map((sources) => sources.map((source) => ({ | ||||
| 			src: unprint.prefixUrl(`${source.fileuri}?${source.signature}`, parameters.cdn), | ||||
| 			expectType: { | ||||
| 				'application/octet-stream': 'image/jpeg', | ||||
| 			}, | ||||
| 		}))); | ||||
| 
 | ||||
| 	if (teaser && teaser.fileuri !== trailer?.fileuri) { | ||||
| 		release.teaser = unprint.prefixUrl(`${teaser.fileuri}?${teaser.signature}`, parameters.cdn); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue