使用R抓取带有下拉HTML表单的网页

时间:2019-03-09 17:36:38

标签: html r rvest

我检查了网站,然后在下拉菜单中找到名称。

import { a } from '../app/fac/a';
export function abc() {
    return new a();
  }

 export const conf: conf= {
 ddh: 'http://foo/something/foo',
 h: {
      dH: {
            'c': 'j',
            user: 'abc'
          },
      mH: []
   },
 b: false,
 d: true
 }

我收到以下错误:

{
 "ddh":"http://foo/something/foo",
 "h": {
       "dH":{
              "c": "j",
              "user": "abc"
            },
       "mH": []
      },
  "b": false,
  "d": true
}

1 个答案:

答案 0 :(得分:0)

我想这就是你想要的....

library(quantmod)
e <- new.env()
getSymbols("AAPL", env = e)
pframe <- do.call(merge, as.list(e))
head(pframe)