Jump to content
Posted
  • PreShow Supporter

I can get trailers from TMDB but IMDB is crashing when previewing.

2024-03-16 20:54:03.760 T:23980    info <general>: [- PreShow Experience -] (API): [VideoBumper] 'Theater Intro'
2024-03-16 20:54:03.761 T:23980    info <general>: [- PreShow Experience -] (API):     - Via source
2024-03-16 20:54:03.768 T:23980    info <general>: [- PreShow Experience -] (API): [VideoBumper] 'Trailers Intro'
2024-03-16 20:54:03.769 T:23980    info <general>: [- PreShow Experience -] (API):     - Via source
2024-03-16 20:54:03.788 T:23980    info <general>: [- PreShow Experience -] (API): [Trailer] content x 1
2024-03-16 20:54:03.818 T:23980    info <general>: [- PreShow Experience -] (API):     - [IMDB]
2024-03-16 20:54:04.095 T:23980    info <general>: [- PreShow Experience -] (API):     - Searching un-watched trailers
2024-03-16 20:54:04.114 T:23980    info <general>: [- PreShow Experience -] (API):     - Order: Newest
2024-03-16 20:54:04.128 T:23980    info <general>: [- PreShow Experience -] (API):     - [IMDB]
2024-03-16 20:54:04.129 T:23980    info <general>: [- PreShow Experience -] (API):     - Searching watched trailers
2024-03-16 20:54:04.148 T:23980    info <general>: [- PreShow Experience -] (API):     - Order: Newest
2024-03-16 20:54:06.498 T:23980   error <general>: Traceback (most recent call last):
 
2024-03-16 20:54:06.498 T:23980   error <general>: 
2024-03-16 20:54:06.499 T:23980   error <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.preshowexperience/resources/lib/preshowexperience/scrapers/imdb/scraper.py", line 181, in get_trailers
                                                       h3 = title_block.find("h3")
                                                            ^^^^^^^^^^^^^^^^
 
2024-03-16 20:54:06.499 T:23980   error <general>: 
2024-03-16 20:54:06.499 T:23980   error <general>: AttributeError: 'NoneType' object has no attribute 'find'
 
2024-03-16 20:54:06.499 T:23980   error <general>: 
2024-03-16 20:54:06.499 T:23980    info <general>: [- PreShow Experience -] (API): Got exception None
2024-03-16 20:54:07.506 T:23980   error <general>: Traceback (most recent call last):
 
2024-03-16 20:54:07.506 T:23980   error <general>: 
2024-03-16 20:54:07.507 T:23980   error <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.preshowexperience/resources/lib/preshowexperience/scrapers/imdb/scraper.py", line 181, in get_trailers
                                                       h3 = title_block.find("h3")
                                                            ^^^^^^^^^^^^^^^^
 
2024-03-16 20:54:07.507 T:23980   error <general>: 
2024-03-16 20:54:07.507 T:23980   error <general>: AttributeError: 'NoneType' object has no attribute 'find'

 

Featured Replies

  • Administrator

Thanks for posting this.  IMDB changed the way they list their content and that broke the scraper.  I am aware of it and am working on a fix.

  • 1 month later...
  • Administrator

I'm still working on this, but it's far enough along that I can say that a fix will be in the next version of PreShow.

Create an account or sign in to comment

Topics