A python script to get RSS feeds from french-speaking Belgian broadcasting online video service.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
270B

  1. # coding: utf-8
  2. def KeepOnly10LastItems(PathToFeed):
  3. """Keep only last items from a feed"""
  4. #########
  5. PathToFeed=open;('/home/mtoniott/PycharmPorjects/rssvideo/index.html.1', mode="r")
  6. #########
  7. #PathToFeed.truncate(1024)
  8. print(PathToFeed.read())