-
Notifications
You must be signed in to change notification settings - Fork 13
Description
In version 0.8.0 I see that if you provide -m or --method with method name Wheatley throws a 403 error.
PS C:\Users\Paul> wheatley 456237981 --method "Cambridge Surprise Minor" -u -I 1.0 -S 2h01
Traceback (most recent call last):
File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Program Files\Python310\Scripts\wheatley.exe_main.py", line 7, in
File "C:\Users\Paul\AppData\Roaming\Python\Python310\site-packages\wheatley\main.py", line 516, in main
console_main(unparsed_args, stop_on_join_tower)
File "C:\Users\Paul\AppData\Roaming\Python\Python310\site-packages\wheatley\main.py", line 467, in console_main
row_generator = create_row_generator(args)
File "C:\Users\Paul\AppData\Roaming\Python\Python310\site-packages\wheatley\main.py", line 51, in create_row_generator
return generator_from_special_title(args.method, args.start_row) or MethodPlaceNotationGenerator(
File "C:\Users\Paul\AppData\Roaming\Python\Python310\site-packages\wheatley\row_generation\method_place_notation_generator.py", line 81, in init
method_xml = self._fetch_method(method_title)
File "C:\Users\Paul\AppData\Roaming\Python\Python310\site-packages\wheatley\row_generation\method_place_notation_generator.py", line 133, in _fetch_method
source.raise_for_status()
File "C:\Program Files\Python310\lib\site-packages\requests\models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: http://methods.ringing.org/cgi-bin/simple.pl?title=Cambridge+Surprise+Minor&fields=title%7Cpn%7Cstage