Navigation Menu

Skip to content

Commit

Permalink
fb & youtube worker back
Browse files Browse the repository at this point in the history
  • Loading branch information
Evangenieur committed Dec 16, 2012
1 parent 57f15bb commit a94a5ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion workers/facebook_search_worker.coffee
Expand Up @@ -56,7 +56,7 @@ video_search = (search, opts = {}) ->
id: "facebook/#{post.id}"
post_date: post.created_time
text: post.message
score: post.likes.count if post.likes || 1
score: post.likes?.count or 1

vdo = {}
vdo.title = post.name if post.name?
Expand Down
1 change: 1 addition & 0 deletions workers/youtube_search_worker.coffee
Expand Up @@ -71,5 +71,6 @@ video_search = (search, opts = {}) ->
post_date: post.published["$t"]
text: post["media$group"]["media$description"]["$t"]
score: post["yt$statistics"]?["favoriteCount"] || 1
video_platforms.getVideoFromMsg msg, post.content.src, vdo

video_search argv.search, argv

0 comments on commit a94a5ea

Please sign in to comment.