diff options
Diffstat (limited to 'watch')
| -rw-r--r-- | watch/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/watch/utils.py b/watch/utils.py index 336127a..ce669c0 100644 --- a/watch/utils.py +++ b/watch/utils.py @@ -296,7 +296,7 @@ def extract_seasons(data): def process_relations(relations, depth): for edge in relations['edges']: - if edge['relationType'] in ['SEQUEL', 'PREQUEL', 'ALTERNATIVE', 'PARENT', 'SIDE_STORY']: + if edge['relationType'] in ['SEQUEL', 'PREQUEL', 'ALTERNATIVE', 'PARENT', 'SIDE_STORY'] and edge['node']['format'] in ['TV', 'TV_SHORT', 'MOVIE', 'SPECIAL', 'OVA']: add_content(edge['node'], depth) # Start with the main media |
