from phlib import PornHub ph = PornHub() ph.categories ph['example category'] <Category title='example category'> cat = _ cat.videos(max=25) ph.search('some search term')