badtube

badtube

In [1]:
import requests
In [4]:
from redtube import RedClient

red = RedClient()
# Getting top of the top... I think so :)
collection = red.search()
# Search method provides list like object of type RedCollection with video entries of type RedVideo.
print (collection)
# You can show you total videos for current search and current page
print (collection.total)
# Let's search banana, it's good choice for this search engine
collection = red.search(query='banana', page=2)
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-4-4783e5db90a7> in <module>()
----> 1 from redtube import RedClient
      2 
      3 red = RedClient()
      4 # Getting top of the top... I think so :)
      5 collection = red.search()

ImportError: No module named 'redtube'
In [ ]:
 
In [ ]:
 

Comments

Comments powered by Disqus