Hartmut Goebel
83ed532680
Add retrieving images from RSS & posting them.
...
Collects image urls from summary, content and enclosures
(attachments).
This add urllib3 as requirement.
2019-04-16 12:04:20 +02:00
Hartmut Goebel
13d1dd2623
Fix deprecation warning when calling yaml.load().
...
This was the message: YAMLLoadWarning: calling yaml.load() without
Loader=... is deprecated, as the default Loader is unsafe
2019-03-31 00:00:54 +01:00
Hartmut Goebel
0b13bbbabe
Very small code cleanup.
2019-03-31 00:00:53 +01:00
Hartmut Goebel
8886fd5d2d
Remove HTML tags from content.
...
Do this as early as processing the entry so later steps can count
on it (esp. when counting characters)
Also add a new requirement: beautifulsoup4.
2019-03-31 00:00:53 +01:00
Hartmut Goebel
fc56be6d70
Filter entries prior to processing any entry.
...
This saves processing time, esp. since for most installation
there should not be so many changes and most times, there will
be zero entries to be posted, thus there is not need to process them.
2019-03-31 00:00:50 +01:00
Hartmut Goebel
e99c18b249
Sort entries in reverse published order.
...
In a feed typically the newest entries are on top, while the older
ones should be posted first. Thus reverse the order, based on
publish date.
Closes #4 .
2019-03-30 23:59:40 +01:00
Hartmut Goebel
493c1ad3f3
Add minimal argparse support to get support for --help.
...
Closes #5 .
2019-03-29 21:32:36 +01:00