Skip to content

Commit 3ca655b

Browse files
committed
update news method with correct url
1 parent 11a1b6e commit 3ca655b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plexapi/myplex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ def webShows(self):
636636
def news(self):
637637
""" Returns a list of News Hub items :class:`~plexapi.library.Hub`
638638
"""
639-
req = requests.get(self.NEWS + 'hubs/', headers={'X-Plex-Token':self._token})
639+
req = requests.get(self.NEWS + 'hubs/sections/all', headers={'X-Plex-Token':self._token})
640640
elem = ElementTree.fromstring(req.text)
641641
return self.findItems(elem)
642642

0 commit comments

Comments
 (0)