Opened 11 years ago

Closed 11 years ago

#5947 closed defect (fixed)

ofdb.py doesn't work anymore. Maybe site changed?

Reported by: anonymous Owned by: Anduin Withers
Priority: minor Milestone: unknown
Component: mythvideo Version: 0.21
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Title search (ofdb.py -M "xxxxx") is working but the search for plot, director etc. (ofdb -D "xxxxx") doesn't work anymore.

Error while executing "./ofdb.py -D "105790,300:300"" for example is:

# Warning: expected to find content at 'IMG[@src='images/notenspalte.gif']', site format may have changed, look for a new version of this script. # Warning: expected to find content at 'DIV[@class='info']/H5[starts-with(., 'Premierendatum')]/../child::text()[2]', site format may have changed, look for a new version of this script. # Warning: expected to find content at 'DIV[@class='info']/H5[starts-with(., 'Länge')]/../child::text()[2]', site format may have changed, look for a new version of this script. # Traceback (most recent call last): # File "./ofdb.py", line 327, in search_data # dataruntime? = direct_value(doc.documentElement, u"DIV[@class='info']/H5[starts-with(., 'L\u00E4nge')]/../child::text()[2]").split()[0] # IndexError?: list index out of range

Attachments (1)

ofdb.patch (1.8 KB) - added by Nobody999 11 years ago.
Patch for ofdb.py

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by Nobody999

Attachment: ofdb.patch added

Patch for ofdb.py

comment:1 Changed 11 years ago by Nobody999

With this patch it works again!

comment:2 Changed 11 years ago by Dibblah

Status: newassigned

comment:3 Changed 11 years ago by Anduin Withers

(In [19629]) References #5947

Removes IMDb link following and resulting data.

comment:4 Changed 11 years ago by Anduin Withers

Resolution: fixed
Status: assignedclosed

(In [19630]) Closes #5947

Merges [19629] from trunk.

Original commit message:

Removes IMDb link following and resulting data.

Note: See TracTickets for help on using tickets.