mech

package module
v1.50.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2022 License: OSL-3.0 Imports: 6 Imported by: 11

README

Mech

Listen, um, I don’t really know what’s going on here, but I’m leaving. I don’t know where exactly, but I’m gonna start over.

Come with me.

Paint it Black (2016)

Download media or send API requests

Some users might want to make anonymous requests, because of privacy or any number of other reasons. Most API these days only offically support authenticated access. This is useful for the company providing the API, as they can use the data for their own purposes (analytics etc). However authentication really doesnt do anything for the end user. Its just a pointless burden to getting the information you need for a program you may be writing. Consider that in many cases, the same information is available via HTML on the primary website, usually without being logged in. So why can you do that with HTML, but not with the API? Well you can, using this module.

How to install?

This module works with Windows, macOS or Linux. Check the releases first. I dont do a build for every tag, but some tags will have builds available. You can download, build and run in less than one minute.

First, download Go and extract archive. Then download Mech and extract archive. Then navigate to mech-master/cmd/youtube, and enter:

go build

Repo

https://github.com/89z/mech

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean added in v1.30.3

func Clean(path string) string

func Encode added in v1.50.5

func Encode[T any](value T) (*bytes.Buffer, error)

func Ext added in v1.30.3

func Ext(head http.Header) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL