GithubHelp home page GithubHelp logo

url-info's Introduction

URL Info

Simple URL information server

build Go Report Card docker License

Guide

For see available options

docker run --rm ghcr.io/aasaam/url-info:latest -h

Default cache dir is /tmp for change set env variable ASM_URL_INFO_TEMPORARY_PATH=/path/you/want

$ curl -s -X POST -H 'Content-Type: application/json' -d '{"url":"https://news.yahoo.com/","image_resize":"720x240", "image_quality":85}' http://127.0.0.1:4000/info | jq
{
  "title": "Yahoo News - Latest News & Headlines",
  "lang": "en",
  "dir": "ltr",
  "description": "The latest news and headlines from Yahoo! News. Get breaking news stories and in-depth coverage with videos and photos.",
  "url": "https://news.yahoo.com/",
  "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAA7VBMVEVgAdJfANFnDNRuF9ZqEtVgAtJmCtO8lOvm2PeyhOljBtJeANFdANGFPdzy6/v69/2WWOF+Mdqvf+idYuNkCNNjB9KZXeKuf+iANdu6kuv////YwfRsFNV9MNru4/rx6ft/NNp6K9nt4/nt4/qaX+Lq3vn9/P6ia+RiBdK9leyse+e8leyZXuLi0vbRt/JyH9eGP9zz7Pvs4vnq3fj07vyVV+Gpd+atfOdyHtfKqu/MrvChauT6+P2GPtyUVOD59v1/M9rYwfNzINfcyPVuGNZqEtRoDtRjB9O5kOvv5fqkbuVhA9JtFtVxHNZlCtO5+6fEAAAAm0lEQVQY02NgwA0YQQCFz8TMwookwsjGzsHJBRLg5uFhZOTh4eHl4xfgBgpwCwoJi4iKiUtISknLgBXIyskrKCopq6iqqYMUMDBqaEpxaklp6+jq6XODTeM2MDQyNjE1M7dgYIQabyklZWVtY2jLDbWPx86eX8DB0coJJsBtx+/swujqBnMno7uHpxeyuxm9fXz9GFF9xY3CRwUAfpMOI9WCN3MAAAAASUVORK5CYII=",
  "image_url": "https://s.yimg.com/cv/apiv2/social/images/yahoo_default_logo.png",
  "image_optimized": "/tmp/uuu/5a47e476c530617c22e84e9d2f518ea2.jpg",
  "canonical": "https://news.yahoo.com/"
}

aasaam software development group
aasaam software development group

url-info's People

Contributors

mhf-ir avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

smrrazavian

url-info's Issues

feature: Video og meta tags

Some new og meta tags have been added in some video news (e.g: this page).

new tags are:

    <meta property="og:video" content="https://mcdn.rokna.net/f/18df9091cec_e52dbc/EDITED_PATH.mp4">
    <meta property="og:video:url" content="https://mcdn.rokna.net/player/18df9091cec_e52dbc">
    <meta property="og:video:secure_url" content="https://mcdn.rokna.net/player/18df9091cec_e52dbc">
    <meta property="og:video:type" content="video/mp4">
    <meta property="og:video:width" content="1280">
    <meta property="og:video:height" content="720">
    <meta property="og:video:duration" content="114">

Could you please provide these meta tags in your service?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.