Skip to content

Commit

Permalink
borme_poller python 2-3
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloCastellano committed Dec 2, 2015
1 parent baf56a6 commit 8a85c39
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/borme_poller.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# El BORME se publica los días laborables y normalmente a las 7:30 de la mañana

import datetime
Expand All @@ -10,9 +10,8 @@
except ImportError:
import urllib as request

#URL_BASE = 'https://boe.es/diario_borme/xml.php?id=BORME-S-20150910'
URL_BASE = 'https://boe.es/diario_borme/xml.php?id=BORME-S-'
DELAY = 5 * 60 # 20 minutes
URL_BASE = 'https://boe.es/diario_borme/xml.php?id=BORME-S-' # https://boe.es/diario_borme/xml.php?id=BORME-S-20150910
DELAY = 5 * 60 # 5 minutes
LOGFILE = 'xmlpoller.log'
TIMEOUT = 10

Expand Down

0 comments on commit 8a85c39

Please sign in to comment.