kasemiranda / navi-x

Automatically exported from code.google.com/p/navi-x
0 stars 0 forks source link

Navi-X hangs on scrape result with bad date #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Navigate to Navi-Xtreme -> Site Scrapers -> GameTrailers.com -> GTTV
2. The resulting playlist is

version=7
logo=http://navix.turner3d.net/images/backgrounds/thumb_gametrailers.gif
title=Gametrailers: GTTV
type=video
name= 0 - 
thumb=http://www.gametrailers.com/moses/gttv_images/episodes/
URL=
processor=http://navix.turner3d.net/proc/gametrailers_gttv
date=--0

The date makes Navi-X hang in navix.ParsePlaylist() at 

            if m.date != '':

                l=m.date.split('-')

                entry_date = datetime.date(int(l[0]), int(l[1]), int(l[2]))

Log: ValueError - Invalid literal for int()

Original issue reported on code.google.com by leblanc....@gmail.com on 21 May 2010 at 3:13

GoogleCodeExporter commented 9 years ago
I will have a look at this.

Original comment by rodejo16@gmail.com on 22 May 2010 at 10:14

GoogleCodeExporter commented 9 years ago

Original comment by rodejo16@gmail.com on 25 May 2010 at 7:06