diff --git a/fantia/fanclubs.go b/fantia/fanclubs.go index 65d8d8a..a674dbb 100644 --- a/fantia/fanclubs.go +++ b/fantia/fanclubs.go @@ -251,6 +251,7 @@ func GetPost(client *http.Client, parent string, post_id int) (bool, error) { } req.Header.Add("x-csrf-token", token) + req.Header.Add("x-requested-with", "XMLHttpRequest") // 投稿を取得 resp, err := client.Do(req)