Skip to content

Commit

Permalink
Merge pull request #130 from cjd2004/grooby-tags
Browse files Browse the repository at this point in the history
Update networkGrooby.py
  • Loading branch information
Darklyter authored Jan 9, 2025
2 parents 48e4c06 + ae376de commit 82c1e77
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scenes/networkGrooby.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class NetworkGroobySpider(BaseSceneScraper):
'description': '//div[@class="trailerpage_info"]/p[not(contains(@class, "trailertitle"))]/text()|//div[@class="trailer_videoinfo"]/p[not(./b)]/text()',
'image': '//div[@class="trailerdata"]/div[contains(@class, "trailerposter")]/img/@src0_2x|//div[@class="videohere"]/img[contains(@src,".jpg")]/@src',
'performers': '//div[@class="trailerpage_info"]//a[contains(@href, "/models/")]/text()|//div[@class="trailer_videoinfo"]//a[contains(@href, "/models/")]/text()',
'tags': '',
'tags': './/div[@class="set_tags"]/ul/li/a/text()',
'trailer': '//div[@class="trailerdata"]/div[contains(@class, "trailermp4")]/text()',
'external_id': r'.*/(.*?)\.htm',
'pagination': '/tour/categories/movies/%s/latest/'
Expand Down Expand Up @@ -115,6 +115,9 @@ def get_tags(self, response):
meta = response.meta

tags = ['Trans']
tagset = map(str.strip, response.xpath(self.get_selector_map('tags')).getall())
tags.extend(tagset)

if "transexpov" in response.url:
tags.append("POV")
if "asian" in response.url:
Expand Down

0 comments on commit 82c1e77

Please sign in to comment.