On Wed, 06 May 2020 11:37:34 +0800 Paul Wise <p...@debian.org> wrote:
> Package: tweeper > Version: 1.4.1-1 > Severity: normal > Usertags: warnings > > When I run tweeper against Facebook, I get a number of warnings: > > $ tweeper https://www.facebook.com/facebook > PHP Warning: Error 42: Attribute data-referrer redefined in Entity, line 22 > in /usr/share/php/tweeper/src/Tweeper.php on line 257 Hi, these warnings are kind of expected, it's the PHP XML parser which tells that the document may not be 100% standard compliant. If they are too distracting maybe I can add a verbose option and silence them by default. I am the upstream too. About the empty result, please see below. > <?xml version="1.0"?> > <rss version="2.0" xml:base="https://facebook.com"> > <channel> > <generator>Tweeper</generator> > <title>Facebook - Home | Facebook</title> > <link>https://www.facebook.com/facebook/</link> > <description><![CDATA[Facebook, Menlo Park, California. 3.1M likes. At > the Facebook company, we are constantly iterating, solving problems and > working together to connect people all over the world through our apps > and...]]></description> > <image> > <title>Facebook - Home | Facebook</title> > <link>https://www.facebook.com/facebook/</link> > > <url>https://scontent-syd2-1.xx.fbcdn.net/v/t1.0-1/p200x200/87284588_124830725745195_9124219877853233152_n.png?_nc_cat=1&_nc_sid=dbb9e7&_nc_ohc=3tjbRDJdk0sAX8fvvm0&_nc_ht=scontent-syd2-1.xx&oh=aeac13e958ded89318cbde3c630294ec&oe=5ED6584F</url> > </image> > </channel> > </rss> > IIRC tweeper only supports "posts" on public Facebook pages, for example the following command successfully scrapes the posts: $ tweeper https://www.facebook.com/facebook/posts/ Maybe it would be useful to add support for the home page or for videos and photos pages, but I am not sure I have the motivation to do that. Ciao, Antonio -- Antonio Ospite https://ao2.it https://twitter.com/ao2it A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing?