Replies: 3 comments
-
That option isnt included for scraping by date range. When scraping yearly by course, there is an option to list races by flat or jumps, but when scraping by date its a completely different method to get the urls. I could put an option to check the type of race but it wouldnt save any time, every race would still need to be downloaded and parsed. Its easy enough to filter the csv by flat and jumps but I do think it would be convenient to have the option so I will add it. |
Beta Was this translation helpful? Give feedback.
-
Have added this option. |
Beta Was this translation helpful? Give feedback.
-
Works a treat! Thank you @joenano for implementing this so quickly! |
Beta Was this translation helpful? Give feedback.
-
Hi, I'd like to be able to pull down the results for a given date or range of date for GB Jumps meetings, but I'm unable to find a way to do this, for example, if I use: rpscrape.py -d 2022/10/31 -r gb -t jumps
... I get the following error:
../settings/user_settings.toml does not exist, using ../settings/default_settings.toml
Traceback (most recent call last):
File "C:\Temp\HORACE\rpscrape\scripts\rpscrape.py", line 180, in
main()
File "C:\Temp\HORACE\rpscrape\scripts\rpscrape.py", line 147, in main
args = parser.parse_args(sys.argv[1:])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Temp\HORACE\rpscrape\scripts\utils\argparser.py", line 84, in parse_args
self.parser.error(ERROR['incompatible'] + ERROR['incompatible_date'])
~~~~~^^^^^^^^^^^^^^^^^^^^^
KeyError: 'incompatible_date'
Am I missing something obvious? Is there any way to do this? Thanks
Beta Was this translation helpful? Give feedback.
All reactions