7
で「有益なUser-Agent文字列」私はページのリストを取得し、次のエラーを取得するWikipediaのページにアクセスしようとしています:設定のgetURL
library(RCurl)
u <- "http://en.wikipedia.org/w/index.php?title=Special%3APrefixIndex&prefix=tal&namespace=4"
getURL(u)
[1] "Scripts should use an informative User-Agent string with contact information, or they may be IP-blocked without notice.\n"
私はそのページに到達するために願っていますWikipediaのapiを通じて、しかしI am not sure it would work。
この事は、たとえば、他のページが問題なく読み込まれていることである。
u <- "http://en.wikipedia.org/wiki/Wikipedia:Talk"
getURL(u)
任意の提案ですか? the documentation of RCurl
によると、一般的には、私はむしろ、wikiページをこすりしないようになり、APIを介して行くが、私は、この特定のページにはAPIを介してまだ利用できないことを恐れて...
パーフェクト - ありがとうございます。 –