website/Projekte/websitecloner.php

73 lines
3.1 KiB
PHP
Raw Normal View History

2020-10-13 17:11:32 +02:00
<?php
include "../internal/mysql.php";
?>
<!DOCTYPE html>
<html lang="de">
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Website Cloner - Jonas Leder</title>
<link href="/css/style.css" rel="stylesheet">
<link href="/css/normalize.css" rel="stylesheet">
<link href="/css/sourcesanspro.css" rel="stylesheet">
<link href="/css/menue.css" rel="stylesheet">
<script src="https://kit.fontawesome.com/038c6c1f0e.js" crossorigin="anonymous"></script>
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setCookieDomain", "*.jonasled.de"]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//matomo.jonasled.de/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//matomo.jonasled.de/matomo.php?idsite=1&amp;rec=1" style="border:0;" alt="" /></p></noscript>
<!-- End Matomo Code -->
</head>
<body>
<header>
<div class="header-wrapper">
<div class="header-homepage color-overlay" data-parallax-depth="20">
<div class="header-description gridContainer content-on-center">
<div class="row header-description-row">
<div class="header-content header-content-centered">
<div class="align-holder">
<h1 class="heading8">Website Cloner</h1>
<p class="header-subtitle"> </p>
<div class="header-buttons-wrapper"></div>
</div>
</div>
</div>
</div>
</div>
<div class="header-separator header-separator-bottom ">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none">
<path class="svg-white-bg" d="M737.9,94.7L0,0v100h1000V0L737.9,94.7z"></path>
</svg>
</div>
</div>
<div id="mainMenu" includeHTML="/include/menue.php?page=projekte"></div>
</header>
<div id="content">
<p>
Da ich in letzter Zeit regelmäßig bei Projekten zur Dokumentation Screenshots der Websites gebraucht habe, habe ich mir dieses kleine Tool entwickelt, welches automatische Screenshots von einer Seite erstellt. Das Script ist in Python geschrieben und greift über Selenium auf den Firefox zurück. Zu finden ist der Quellcode unter
<a href="//gitlab.jonasled.de/jonasled/WebsiteCloner">gitlab.jonasled.de/jonasled/WebsiteCloner</a>
</p>
</div>
<footer includeHTML="/include/footer.php">
</footer>
<script src="/js/includeHTML.js"></script>
</body>
</html>