Compare commits
No commits in common. "0dc358d053abc18f4784c58a407e97144f549ad2" and "bdcaf3747b1fa2dbe362d05dccc0d1b9436c58b2" have entirely different histories.
0dc358d053
...
bdcaf3747b
@ -1,18 +0,0 @@
|
|||||||
class History: #Abstract class
|
|
||||||
def __init__(self, filename):
|
|
||||||
self.history = list()
|
|
||||||
|
|
||||||
def __size__(self):
|
|
||||||
return len(history)
|
|
||||||
|
|
||||||
def parse_history(self, filename):
|
|
||||||
return history
|
|
||||||
|
|
||||||
def is_this_type(self, filename): # bool function,
|
|
||||||
return false # returns false if Youtube history
|
|
||||||
|
|
||||||
def get_video(self, index):
|
|
||||||
return history[index]
|
|
||||||
|
|
||||||
def __iter__(self):
|
|
||||||
return iter(history)
|
|
Loading…
Reference in New Issue
Block a user