fleeksoft / ksoup

Ksoup is a Kotlin Multiplatform library for working with HTML and XML. It's a port of the renowned Java library Jsoup.
https://fleeksoft.github.io/ksoup/
Apache License 2.0
317 stars 13 forks source link

`Ksoup.parseMetaData` missing favicon #89

Closed 676blue closed 4 weeks ago

676blue commented 1 month ago

Ksoup.parseMetaData not parsing favicon from https://animepahe.ru

<head>

<link rel="profile" href="http://gmpg.org/xfn/11">

<link rel="alternate" href="https://animepahe.ru/" hreflang="en-us">

<meta name="viewport" content="width=device-width,initial-scale=1">

<meta name="theme-color" content="#373a3c"><!-- Chrome, Firefox OS, Opera and Vivaldi -->

<meta name="msapplication-navbutton-color" content="#373a3c"><!-- Windows Phone -->

<meta name="apple-mobile-web-app-status-bar-style" content="#373a3c"><!-- iOS Safari -->

<meta http-equiv="x-dns-prefetch-control" content="on">

<link rel="preconnect" href="[//i.animepahe.ru](https://i.animepahe.ru/)">

<link rel="preload" href="[/app/fonts/QldONTRRphEb_-V7LB6xTA.woff2](https://animepahe.ru/app/fonts/QldONTRRphEb_-V7LB6xTA.woff2)" as="font" type="font/woff2" crossorigin>

<link rel="preload" href="[/app/css/bootstrap.min.css](https://animepahe.ru/app/css/bootstrap.min.css)" as="style">

<link rel="preload" href="[/app/css/fork-awesome.min.css](https://animepahe.ru/app/css/fork-awesome.min.css)" as="style">

<link rel="preload" href="[/app/css/style.css](https://animepahe.ru/app/css/style.css)" as="style">

<link rel="preload" href="[/app/js/vendor/bootstrap.bundle.min.js](https://animepahe.ru/app/js/vendor/bootstrap.bundle.min.js)" as="script">

<link rel="preload" href="[/app/js/core.js](https://animepahe.ru/app/js/core.js)" as="script">

<meta name="msapplication-TileImage" content="https://animepahe.ru/animepahe-270x270.png">

<title>animepahe :: okay-ish anime website</title>

<meta name="description" content="Watch or download anime shows in HD 720p/1080p.">

<meta name="keywords" content="Anime,Pahe,Mini,720p,HD,mp4,English,Subtitle,Hardsub">

<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1">

<meta property="og:site_name" content="animepahe">

<meta property="og:locale" content="en_US">

<meta property="og:image" content="https://animepahe.ru/animepahe-270x270.png">

<meta property="og:url" content="https://animepahe.ru">

<meta property="og:type" content="website">

<meta property="og:title" content="cloud anime encoding">

<meta property="og:description" content="Watch or download anime shows in HD 720p/1080p.">

<meta name="author" content="animepahe">

<link href="[/apple-touch-icon.png](https://animepahe.ru/apple-touch-icon.png)" rel="apple-touch-icon-precomposed" type="image/png">

<link href="[/apple-touch-icon.png](https://animepahe.ru/apple-touch-icon.png)" rel="shortcut icon">

<link href="[/pikacon-32x32.png](https://animepahe.ru/pikacon-32x32.png)" rel="shortcut icon" type="image/png">

<link href="[/pikacon.ico](https://animepahe.ru/pikacon.ico)" rel="shortcut icon" type="image/x-icon">

<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="https://animepahe.ru/feed">

<link rel="stylesheet" href="[/app/css/bootstrap.min.css](https://animepahe.ru/app/css/bootstrap.min.css)">

<link rel="stylesheet" href="[/app/css/fork-awesome.min.css](https://animepahe.ru/app/css/fork-awesome.min.css)">

<link rel="stylesheet" href="[/app/css/style.css](https://animepahe.ru/app/css/style.css)">

</head>
IvanAbakumov commented 1 month ago

@itboy87 so there is no favicon parameter here

itboy87 commented 1 month ago

@IvanAbakumov yes that is not but in upcoming version i added shortcut icon.

itboy87 commented 4 weeks ago

New variable shortcutIcon added in MetaData since version 0.2.0