X-Git-Url: https://git.ao2.it/tweeper.git/blobdiff_plain/e053ac2a08c18296cdfe329e385a8d7a6c6fa962..96f366164f70e6611b26d566b0a563a9e68637d3:/tweeper.php diff --git a/tweeper.php b/tweeper.php index 9f09936..ed1e1c7 100644 --- a/tweeper.php +++ b/tweeper.php @@ -201,6 +201,10 @@ class Tweeper { return $serializer->getSerializedData(); } + private function get_xml_instagram_com($html) { + return $this->json_to_xml($html, '/window._sharedData = (.*);/', 'instagram'); + } + private function html_to_xml($html, $host) { $xmlDoc = new DOMDocument();