Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def toNumber(string):
try:
return int(number)
except:
return -1
return None

#Function that filters out the most relevant Youtube video
def getMostRelevant(metaData, searchWord):
Expand Down
Binary file modified crawler.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ def download_video(url, filename):

response = requests.get(url, headers=headers)
print(response)
file = open(filename, 'wb')
file = open("filename.mp4",'wb')
file.write(response.content)
file.close()