Alternatively, you can view a set like this: https://scryfall.com/sets/khm?order=set&as=checklist
If you select the first however many rows*, you can copy + paste this to excel, which automatically should put the card names in a separate column. You can then copy + paste the contents of this...