unapplenews

package module
v0.0.0-...-4b10932 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2020 License: MIT Imports: 3 Imported by: 0

README

UnAppleNews

Tired of apple news openning when a co-worker posts an apple news article? Well now you can decode the redirect url and re-share it with a kind comment

# install from source:
$ go install github.com/Robindiddams/unapplenews/cmd/unapplenews

# run:
$ unapplenews https://apple.news/AArdKANhNR7KKXjwoNe9i-g
https://arstechnica.com/tech-policy/2020/10/googles-supreme-court-faceoff-with-oracle-was-a-disaster-for-google/

# OR open the url (mac only):
$ open `unapplenews https://apple.news/AArdKANhNR7KKXjwoNe9i-g`

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnAppleNews

func UnAppleNews(url string) (string, error)

UnAppleNews takes an apple news url and returns the article url

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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