def _create_fake_xml(items):
 xml = '<?xml version="1.0" encoding="UTF-8" ?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="http://www.newznab.com/DTD/2010/feeds/attributes/" encoding="utf-8"><channel>'
 for item in items:
  xml += (('<item><title>' + item) + '</title>\n')
  xml += (('<link>http://fantasy.com/' + item) + '</link></item>')
 xml += '</channel></rss>'
 return xml

def _create_fake_xml ( items ) : xml = '<?xml version="1.0" encoding="UTF-8" ?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="http://www.newznab.com/DTD/2010/feeds/attributes/" encoding="utf-8"><channel>' for item in items : xml += ( ( '<item><title>' + item ) + '</title>\n' ) xml += ( ( '<link>http://fantasy.com/' + item ) + '</link></item>' ) xml += '</channel></rss>' return xml
create fake xml .