gautamdhameja / medium-2-md

A CLI tool that converts exported Medium posts (html) to Jekyll/Hugo compatible markdown with front matter.
https://www.npmjs.com/package/medium-2-md
Apache License 2.0
142 stars 19 forks source link

Add User-Agent header to downloader #27

Closed jozefcipa closed 2 years ago

jozefcipa commented 2 years ago

Fixes #26 cc @drewkhoury

💡 To give a little bit of context -> Medium apparently returns 403 Forbidden for requests without User-Agent header.

gautamdhameja commented 2 years ago

Thanks for the PR @jozefcipa. Appreciate it!

jozefcipa commented 2 years ago

Thank you for this awesome script 🙌 . Happy to help!

drewkhoury commented 2 years ago

thanks!