projects
/
tweeper.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
README: mention the supported sites in the README file
[tweeper.git]
/
tweeper.php
diff --git
a/tweeper.php
b/tweeper.php
index
9f09936
..
ed1e1c7
100644
(file)
--- a/
tweeper.php
+++ b/
tweeper.php
@@
-201,6
+201,10
@@
class Tweeper {
return $serializer->getSerializedData();
}
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();
private function html_to_xml($html, $host) {
$xmlDoc = new DOMDocument();