This feature aims to extract relevant information from a given video title, such as the video quality, actress name, and other notable details. Alps: 2ap00437
import re Skies Blobbed Xxx 108... — Hentaied 24 05 30 Scarlet
title = "Blacked - Gwen Stark -Red Head Beauty...- 1080p..." print(extract_video_info(title))
'actress': 'Gwen Stark', 'hair_color': 'Red Head', 'video_quality': '1080p'
Video Information Extractor
This feature can be further enhanced to support more complex video titles and additional information extraction.
def extract_video_info(title): info = {} # Extract actress name actress_name = re.search(r"- (.*) -", title) if actress_name: info['actress'] = actress_name.group(1).strip() # Extract hair color hair_color = re.search(r"(Red Head|Blonde|Brunette)", title, re.IGNORECASE) if hair_color: info['hair_color'] = hair_color.group(0).strip() # Extract video quality video_quality = re.search(r"(\d+p)", title) if video_quality: info['video_quality'] = video_quality.group(0).strip() return info