Extract forum discussion
diffbot.x.extract-discussionExtracts individual posts, authors, dates and sentiment from a forum thread or comment section
- Price
- $0.001196/callプロバイダー原価
- Success rate
- 100%Last 30 days · 13 calls
- Latency p50
- 7.2 sp95 62 s
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.x.extract-discussion?url=https%3A%2F%2Fforum.gl-inet.com%2Ft%2Fssh-connection-protocol-does-not-work-well-between-vpn-clients%2F22779Preview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
different HOST than base_url — api.diffbot.com, not kg.diffbot.com
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
url | 文字列 | 必須 | target URL to extract | https://forum.gl-inet.com/t/ssh-connection-protocol-does-not-work-well-between-vpn-clients/22779 |
proxy | 文字列 | 任意 | ||
fields | 文字列 | 任意 | comma-delimited optional fields: links, extlinks, meta, querystring, breadcrumb, sentiment | |
paging | 真偽値 | 任意 | pass false to disable automatic multi-page concatenation | true |
scroll | 文字列 | 任意 | 'slow' or 'fast' — triggers lazy-loaded content | |
timeout | 整数 | 任意 | 30000 | |
callback | 文字列 | 任意 | ||
maxPages | 整数 | 任意 | max pages in a thread to automatically concatenate | 20 |
useProxy | 文字列 | 任意 | 'default' = datacenter proxy (2 credits/page); 'none' disables | |
proxyAuth | 文字列 | 任意 | ||
renderDelay | 整数 | 任意 | extra rendering ms before DOM extraction, max 180000 | |
- クエリパラメータ
url文字列必須target URL to extract
例:
https://forum.gl-inet.com/t/ssh-connection-protocol-does-not-work-well-between-vpn-clients/22779proxy文字列任意fields文字列任意comma-delimited optional fields: links, extlinks, meta, querystring, breadcrumb, sentiment
paging真偽値任意pass false to disable automatic multi-page concatenation
例:
truescroll文字列任意'slow' or 'fast' — triggers lazy-loaded content
timeout整数任意例:
30000callback文字列任意maxPages整数任意max pages in a thread to automatically concatenate
例:
20useProxy文字列任意'default' = datacenter proxy (2 credits/page); 'none' disables
proxyAuth文字列任意renderDelay整数任意extra rendering ms before DOM extraction, max 180000
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
curl -X GET 'https://toolswitch.dev/v1/tools/diffbot.x.extract-discussion?url=https%3A%2F%2Fforum.gl-inet.com%2Ft%2Fssh-connection-protocol-does-not-work-well-between-vpn-clients%2F22779' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/diffbot.x.extract-discussion?url=https%3A%2F%2Fforum.gl-inet.com%2Ft%2Fssh-connection-protocol-does-not-work-well-between-vpn-clients%2F22779",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/diffbot.x.extract-discussion?url=https%3A%2F%2Fforum.gl-inet.com%2Ft%2Fssh-connection-protocol-does-not-work-well-between-vpn-clients%2F22779", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.001196/call です。サービス料を含みます。