Package: tweeper
Version: 1.4.2-1
Severity: important
When I try to download the RSS for an Instagram account that does not
exist, tweeper just returns an empty RSS feed and exits with success.

When I try to download the RSS for a Facebook account that does not
exist, tweeper prints a "Page not found" feed and exits with success.

I assume that there are similar issues with all of supported sites.

Instead it should return an error on stderr and exit with a failure,
for each of the different websites that are supported.

This change is essential for RSS readers like Liferea where the error
would show up in the Liferea GUI, otherwise folks in this situation
will not notice the error and only investigate when they seem to think
that they are missing some posts from some feeds.

   $ tweeper https://www.instagram.com/asfddasdfasdfasdfasdf/ ; echo $?
   <?xml version="1.0"?>
   <rss version="2.0" xml:base="https://instagram.com";>
     <channel>
       <generator>Tweeper</generator>
       <title>Instagram / </title>
       <link>https://instagram.com/</link>
       <description><![CDATA[.]]></description>
     </channel>
   </rss>
   0
   
   $ tweeper https://www.facebook.com/asfddasdfasdfasdfasdf/ ; echo $?
   <?xml version="1.0"?>
   <rss version="2.0" xml:base="https://facebook.com";>
     <channel>
       <generator>Tweeper</generator>
       <title>Page not found | Facebook</title>
       <link/>
       <description><![CDATA[See posts, photos and more on 
Facebook.]]></description>
       <image>
         <title>Page not found | Facebook</title>
         <link/>
         <url/>
       </image>
     </channel>
   </rss>
   0
   
-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tweeper depends on:
ii  php-cli                      2:7.4+76
ii  php-common                   2:76
ii  php-curl                     2:7.4+76
ii  php-symfony-property-access  4.4.14+dfsg-1
ii  php-symfony-serializer       4.4.14+dfsg-1
ii  php-xml                      2:7.4+76
ii  php7.4-cli [php-cli]         7.4.11-1
ii  php7.4-curl [php-curl]       7.4.11-1
ii  php7.4-json [php-json]       7.4.11-1
ii  php7.4-xml [php-xml]         7.4.11-1

tweeper recommends no packages.

Versions of packages tweeper suggests:
pn  libapache2-mod-php | php-cgi  <none>

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to