Skip to content

Commit

Permalink
fix: workaround cloudflare blocking the wordpress loader
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanholsteijn committed Oct 3, 2024
1 parent e62d655 commit c63c492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wordpress_markdown_blog_loader/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def __init__(self, host: Optional[str] = None):
self._media: List[Medium] = {}
self.headers = {
"accept": "application/json",
"User-Agent": "Wordpress markdown blog loader - Python",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Safari/605.1.15",
}
self.session = requests.Session()

Expand Down

0 comments on commit c63c492

Please sign in to comment.