Skip to content

Commit

Permalink
Merge pull request #527 from BrutuZ/anime-list-template
Browse files Browse the repository at this point in the history
Update AnimeLists.py
  • Loading branch information
ZeroQI authored Aug 31, 2022
2 parents c24f2e3 + 658b1e4 commit b2a0ac4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Contents/Code/AnimeLists.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
SCUDLEE_MASTER = 'https://raw.githubusercontent.com/Anime-Lists/anime-lists/master/anime-list-master.xml' # ScudLee mapping file url
SCUDLEE_MOVIESET = 'https://raw.githubusercontent.com/Anime-Lists/anime-lists/master/anime-movieset-list.xml'
SCUDLEE_CUSTOM = 'anime-list-custom.xml'
SCUDLEE_FEEDBACK = 'https://github.com/Anime-Lists/anime-lists/issues/new?title={title}&body={body}' # ScudLee mapping file git feedback url
SCUDLEE_FEEDBACK = 'https://github.com/Anime-Lists/anime-lists/issues/new?template=new_mapping.yml&title={title}&anidb_id={anidb_id}&anime_title={anidb_title}' # ScudLee mapping file git feedback url

### Functions ###

Expand Down Expand Up @@ -181,7 +181,7 @@ def anime_core(anime):
###
if TVDBid=="hentai": SaveDict("X", AnimeLists_dict, 'content_rating')
elif TVDBid in ("", "unknown", None):
link = SCUDLEE_FEEDBACK.format(title="aid:%s '%s' TVDBid:" % (AniDB_id, "title"), body=String.StripTags(XML.StringFromElement(anime, encoding='utf8')))
link = SCUDLEE_FEEDBACK.format(title="[HAMA] AniDB ID:%s" % AniDB_id, anidb_title=GetXml(anime, 'name'), anidb_id=AniDB_id)
error_log['anime-list TVDBid missing'].append('AniDBid: "{}" | Title: "{}" | Has no matching TVDBid "{}" in mapping file | <a href="{}" target="_blank">Submit bug report</a>'.format(AniDB_id, "title", TVDBid, link))
Log.Info('"anime-list TVDBid missing.htm" log added as tvdb serie id missing in mapping file: "{}"'.format(TVDBid))

Expand Down

0 comments on commit b2a0ac4

Please sign in to comment.