Skip to content

Commit

Permalink
Data18Scenes/Add Web Series as Tagline
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondpete committed Aug 15, 2024
1 parent ccf7c30 commit c611e01
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Contents/Code/siteData18Scenes.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,11 @@ def update(metadata, lang, siteNum, movieGenres, movieActors, art):
try:
tagline = detailsPageElements.xpath('//b[contains(., "Network")]//following-sibling::a')[0].text_content().strip()
except:
tagline = detailsPageElements.xpath('//p[contains(., "Movie:")]/a')[0].text_content()
metadata.collections.add(metadata.studio)
try:
tagline = detailsPageElements.xpath('//p[contains(., "Webserie:")]/a')[0].text_content()
except:
tagline = detailsPageElements.xpath('//p[contains(., "Movie:")]/a')[0].text_content()
metadata.collections.add(metadata.studio)

if len(metadata_id) > 3:
Log('Using original series information')
Expand Down

0 comments on commit c611e01

Please sign in to comment.