Comments (3)
### AniDB Serie/Movie description ###
try: description = re.sub(r'http://anidb\.net/[a-z]{2}[0-9]+ \[(.+?)\]', r'\1', getElementText(anime, 'description')).replace("`", "'") # Remove wiki-style links to staff, characters etc
except Exception as e: description = ""; Log.Error("Exception: %s" % e)
if description == "":
error_log['AniDB summaries missing'].append("anidbid: %s" % (WEB_LINK % (ANIDB_SERIE_URL % metadata_id_number, metadata_id_number) + " | Title: '%s'" % metadata.title))
if tvdbOverview: description = tvdbOverview; Log.Warn("AniDB series summary is missing but TVDB has one availabe so using it.")
if metadata.summary != description and description: metadata.summary = description.replace("`", "'")
URL not removed: http://anidb.net/a715[Gundam], regex expect two letters, changed range from 1 to 2
try: description = re.sub(r'http://anidb.net/[a-z]{1,2}[0-9]+ [(.+?)]', r'\1', getElementText(anime, 'description')).replace("`", "'") # Remove wiki-style links to staff, characters etc
from hama.bundle.
Awwww, put it in as a placeholder for me to fix. 😢
You broke the indent though btw.
from hama.bundle.
#66
thanks for spotting.
from hama.bundle.
Related Issues (20)
- HAMA not picking up Title Cards as Local Media Assets HOT 1
- "Season 0" specials being mapped when they shouldn't be HOT 1
- How to investigate wrong matching for a season? HOT 3
- Metadata will not populate for Anime movies. HOT 1
- Digimon Ghost Game refuses to be matched to it's metadata HOT 10
- Solution to trailer URLs HOT 2
- Movies agent not confident enough to match without intervention HOT 1
- i want to have two Hama agents HOT 3
- Seasons posters not showing HOT 1
- HAMA is no longer working! HOT 29
- Scudlee Files Out-of-Date? How to force update? HOT 5
- Trakt scrobbler not working HOT 2
- Missing Genre entries HOT 3
- Adding to TrueNAS SCALE containers HOT 4
- Japanese Summaries HOT 2
- Make Discover Credits functionality compatible with HAMA HOT 1
- Locked (edited) fields are overwritten when applying anidb mapping HOT 5
- "Refresh Metadata" removes customizations HOT 10
- Not finding the newer series HOT 9
- Newly added episodes of a specific series no longer receive metadata HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hama.bundle.