2022-11-07, 19:50
Hello, I'm requesting ondemandkorea video addon which is https://www.ondemandkorea.com
There was already built addon which was https://github.com/hojel/xbmc-korea-addo...r/download
But, due to the recent web design change it's not working any more.
Before recent web design change for which I modified a bit for kodi 19.4 English menu https://drive.google.com/file/d/1juV3ZRe...jACsc/view
for korean menu https://drive.google.com/file/d/17SfCNJ9...sp=sharing
I tried to contact the author of last ondemandkorea addon which was 0.72 which was written for kodi 18, but unsuccessful for 11 month.
When running addon it gives a this error mesg
INFO : [xbmcswift2] Request for "/" matches rule for function "main_menu"
2022-11-04 14:16:01.452 T:15256 INFO : CPythonInvoker(12, C:\Users\Jung\AppData\Roaming\Kodi\addons\plugin.video.ondemandkorea\addon.py): script successfully run
2022-11-04 14:16:01.553 T:15256 INFO : Python interpreter stopped
2022-11-04 14:16:02.386 T:16600 INFO : CPythonInvoker(10, C:\Users\Jung\AppData\Roaming\Kodi\addons\service.xbmc.versioncheck\resources\lib\runner.py): script successfully run
2022-11-04 14:16:02.460 T:16600 INFO : Python interpreter stopped
2022-11-04 14:16:02.768 T:17744 INFO : initializing python engine.
2022-11-04 14:16:03.304 T:17744 INFO : [xbmcswift2] Request for "/genre/variety" matches rule for function "genre_view"
2022-11-04 14:16:06.174 T:6972 INFO : CPythonInvoker(11, C:\Users\Jung\AppData\Roaming\Kodi\addons\weather.multi\default.py): script successfully run
2022-11-04 14:16:06.294 T:6972 INFO : Python interpreter stopped
2022-11-04 14:16:06.611 T:17744 INFO : CPythonInvoker(13, C:\Users\Jung\AppData\Roaming\Kodi\addons\plugin.video.ondemandkorea\addon.py): script successfully run
2022-11-04 14:16:06.729 T:17744 INFO : Python interpreter stopped
2022-11-04 14:16:07.260 T:6564 INFO : KodiLibrary sync took 1.115 sec
2022-11-04 14:16:08.248 T:17968 INFO : initializing python engine.
2022-11-04 14:16:08.779 T:17968 INFO : [xbmcswift2] Request for "/episode/post/%2Ftaste-of-travel-e11042022.html" matches rule for function "episode_post"
2022-11-04 14:16:09.720 T:17968 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
File "C:\Users\Jung\AppData\Roaming\Kodi\addons\plugin.video.ondemandkorea\addon.py", line 135, in
plugin.run()
File "C:\Users\Jung\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 338, in run
items = self._dispatch(self.request.path)
File "C:\Users\Jung\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 312, in _dispatch
listitems = view_func(**items)
File "C:\Users\Jung\AppData\Roaming\Kodi\addons\plugin.video.ondemandkorea\addon.py", line 81, in episode_post
url = scraper.extractEpisodeDataUrlFromPage(post)
File "C:\Users\Jung\AppData\Roaming\Kodi\addons\plugin.video.ondemandkorea\resources\lib\ondemandkorea.py", line 83, in extractEpisodeDataUrlFromPage
epinfo_tmpl = re.search("setPageDataUrl('([^']*)')", r.text).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
-->End of Python script error report<--
2022-11-04 14:16:09.836 T:17968 INFO : Python interpreter stopped
2022-11-04 14:16:09.836 T:3088 ERROR : XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.ondemandkorea/episode/post/%2Ftaste-of-travel-e11042022.html
2022-11-04 14:16:09.841 T:14016 ERROR : CGUIMediaWindow::GetDirectory(plugin://plugin.video.ondemandkorea/episode/post/%2Ftaste-of-travel-e11042022.html) failed
2022-11-04 14:16:11.567 T:19816 INFO : initializing python engine.
It seems like directory of episode being changed due to new design, but I don't have any clue since I don't have any knowledge about python or how to scrap,etc
But, it seems like easy fix if you know how to scrap
If somebody could take a look at it I would really appreciate it.
Thank you
There was already built addon which was https://github.com/hojel/xbmc-korea-addo...r/download
But, due to the recent web design change it's not working any more.
Before recent web design change for which I modified a bit for kodi 19.4 English menu https://drive.google.com/file/d/1juV3ZRe...jACsc/view
for korean menu https://drive.google.com/file/d/17SfCNJ9...sp=sharing
I tried to contact the author of last ondemandkorea addon which was 0.72 which was written for kodi 18, but unsuccessful for 11 month.
When running addon it gives a this error mesg
INFO : [xbmcswift2] Request for "/" matches rule for function "main_menu"
2022-11-04 14:16:01.452 T:15256 INFO : CPythonInvoker(12, C:\Users\Jung\AppData\Roaming\Kodi\addons\plugin.video.ondemandkorea\addon.py): script successfully run
2022-11-04 14:16:01.553 T:15256 INFO : Python interpreter stopped
2022-11-04 14:16:02.386 T:16600 INFO : CPythonInvoker(10, C:\Users\Jung\AppData\Roaming\Kodi\addons\service.xbmc.versioncheck\resources\lib\runner.py): script successfully run
2022-11-04 14:16:02.460 T:16600 INFO : Python interpreter stopped
2022-11-04 14:16:02.768 T:17744 INFO : initializing python engine.
2022-11-04 14:16:03.304 T:17744 INFO : [xbmcswift2] Request for "/genre/variety" matches rule for function "genre_view"
2022-11-04 14:16:06.174 T:6972 INFO : CPythonInvoker(11, C:\Users\Jung\AppData\Roaming\Kodi\addons\weather.multi\default.py): script successfully run
2022-11-04 14:16:06.294 T:6972 INFO : Python interpreter stopped
2022-11-04 14:16:06.611 T:17744 INFO : CPythonInvoker(13, C:\Users\Jung\AppData\Roaming\Kodi\addons\plugin.video.ondemandkorea\addon.py): script successfully run
2022-11-04 14:16:06.729 T:17744 INFO : Python interpreter stopped
2022-11-04 14:16:07.260 T:6564 INFO : KodiLibrary sync took 1.115 sec
2022-11-04 14:16:08.248 T:17968 INFO : initializing python engine.
2022-11-04 14:16:08.779 T:17968 INFO : [xbmcswift2] Request for "/episode/post/%2Ftaste-of-travel-e11042022.html" matches rule for function "episode_post"
2022-11-04 14:16:09.720 T:17968 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
File "C:\Users\Jung\AppData\Roaming\Kodi\addons\plugin.video.ondemandkorea\addon.py", line 135, in
plugin.run()
File "C:\Users\Jung\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 338, in run
items = self._dispatch(self.request.path)
File "C:\Users\Jung\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 312, in _dispatch
listitems = view_func(**items)
File "C:\Users\Jung\AppData\Roaming\Kodi\addons\plugin.video.ondemandkorea\addon.py", line 81, in episode_post
url = scraper.extractEpisodeDataUrlFromPage(post)
File "C:\Users\Jung\AppData\Roaming\Kodi\addons\plugin.video.ondemandkorea\resources\lib\ondemandkorea.py", line 83, in extractEpisodeDataUrlFromPage
epinfo_tmpl = re.search("setPageDataUrl('([^']*)')", r.text).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
-->End of Python script error report<--
2022-11-04 14:16:09.836 T:17968 INFO : Python interpreter stopped
2022-11-04 14:16:09.836 T:3088 ERROR : XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.ondemandkorea/episode/post/%2Ftaste-of-travel-e11042022.html
2022-11-04 14:16:09.841 T:14016 ERROR : CGUIMediaWindow::GetDirectory(plugin://plugin.video.ondemandkorea/episode/post/%2Ftaste-of-travel-e11042022.html) failed
2022-11-04 14:16:11.567 T:19816 INFO : initializing python engine.
It seems like directory of episode being changed due to new design, but I don't have any clue since I don't have any knowledge about python or how to scrap,etc
But, it seems like easy fix if you know how to scrap
If somebody could take a look at it I would really appreciate it.
Thank you