Commits

Davide Alberani committed a188957

fix for business information

Comments (0)

Files changed (4)

docs/Changelog.txt

   Changelog for IMDbPY
   ====================
 
+* What's the new in release 4.9dev20111113 "6 Giorni sulla Terra" (13 Nov 2011)
+  [http]
+  - fix for business information.
+
+
 * What's the new in release 4.8.2 "The Big Bang Theory" (02 Nov 2011)
   [general]
   - fixed install path of locales.
 
 __all__ = ['IMDb', 'IMDbError', 'Movie', 'Person', 'Character', 'Company',
             'available_access_systems']
-__version__ = VERSION = '4.8.2'
+__version__ = VERSION = '4.9dev20111113'
 
 # Import compatibility module (importing it is enough).
 import _compat

imdb/parser/http/movieParser.py

                                         for t in x.split('\n') if t.strip()]))]
 
     preprocessors = [
-        (re.compile('(<h5>.*?</h5>)', re.I), r'\1<div class="_imdbpy">'),
+        (re.compile('(<h5>.*?</h5>)', re.I), r'</div>\1<div class="_imdbpy">'),
         (re.compile('((<br/>|</p>|</table>))\n?<br/>(?!<a)', re.I),
             r'\1</div>'),
         # the ones below are for the publicity parser
 
 # version of the software; in the code repository this represents
 # the _next_ release.  setuptools will automatically add 'dev-rREVISION'.
-version = '4.8.2'
+version = '4.9'
 
 home_page = 'http://imdbpy.sf.net/'