Compare commits
No commits in common. "7abf7a939f064bce4e7777eb49293d2815ec77ff" and "a9fd6135fd13cdc80d580dc9a64da18bcfe1b94d" have entirely different histories.
7abf7a939f
...
a9fd6135fd
@ -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