Skip to content

๐Ÿ”Ž Search youtube without using the API

License

Notifications You must be signed in to change notification settings

parallax4/searchtube

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

SEARCHTUBE

Search youtube, but not using the API.

youtube's way smarter than me, so don't expect this to bypass it's rate limit

How to Use

Install it: go get -u github.com/Pauloo27/searchtube

package main

import (
  "github.com/Pauloo27/searchtube"
  "fmt"
)

func main() {
  searchTerm := "Tutorial limpar casa"
  maxResults := 5
  results, err := searchtube.Search(searchTerm, maxResults)

  if err != nil {
    panic(err)
  }

  for i, result := range results {
    rank := i+1
    fmt.Printf(" #%d - %s by %s\n", rank, result.Title, result.Uploader)
  }
}

License

This project is licensed under the MIT license.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

About

๐Ÿ”Ž Search youtube without using the API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.3%
  • Makefile 1.7%