Update generic.py

sanitize title to avoid error in parse (example when title contain /)