deezer

package module
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: OSL-3.0 Imports: 9 Imported by: 0

README

Deezer

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. Please.

Paint it Black (2016)

Download audio from Deezer

  1. http://www.deezer.com/login
  2. Web Developer
  3. Network
  4. Log in
  5. Network Settings
  6. Save All As HAR

CDN

Note that two CDN are available, but the HTTP one seems to be faster, perhaps because HTTPS overhead is not used:

After some testing, this cookie seems to expire about three hours from last use. So if you use it once every three hours, it should stay alive, but I would need to do more testing to know for sure.

Repos

language link
C https://github.com/yne/dzr
Go https://github.com/godeezer/lib
Go https://github.com/moon004/Go-deezer-downloader
JavaScript https://github.com/svbnet/diezel

Documentation

Overview

Deezer

Index

Constants

View Source
const (
	FLAC    = '9'
	MP3_320 = '3'
)
View Source
const (
	GatewayWWW = "http://www.deezer.com/ajax/gw-light.php"
)

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(sngID string, data []byte) error

Given SNG_ID and byte slice, decrypt byte slice in place.

Types

type Track added in v1.0.3

type Track struct {
	ART_NAME      string
	MD5_ORIGIN    string
	MEDIA_VERSION string
	SNG_TITLE     string
}

func NewTrack added in v1.0.3

func NewTrack(sngID, token, sID string) (*Track, error)

Given a SNG_ID string, make a "deezer.pageTrack" request and return the result.

func (Track) Source added in v1.0.8

func (t Track) Source(sngID string, format rune) (string, error)

Given SNG_ID and file format, return audio URL.

type UserData added in v1.1.3

type UserData struct {
	SID     string
	Results struct {
		CheckForm string
		User      struct {
			Options struct {
				License_Token string
			}
		}
	}
}

func NewUserData added in v1.1.3

func NewUserData(arl string) (*UserData, error)

Directories

Path Synopsis
research

Jump to

Keyboard shortcuts

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