GithubHelp home page GithubHelp logo

submit_form error about rvest HOT 2 CLOSED

tidyverse avatar tidyverse commented on August 22, 2024
submit_form error

from rvest.

Comments (2)

glfeng318 avatar glfeng318 commented on August 22, 2024

please check this form: https://myaccount.nytimes.com/auth/login, the result show that the function can not parse submit button.

> html_form(html('https://myaccount.nytimes.com/auth/login'))
<form> '<unnamed>' (POST )
  <input hidden> 'is_continue': false
  <input hidden> 'token': 40fec65dc468b0c948cca58d5ea17ef66a92c2171f783b570303968619c44c8b80959cfb12c8e5bc20cbd35321d8e11066117fb4ce8edee9fe924bce7309c27681498dbbb36721a3925265cd461d3d2c391d51dc850223a11522adf8196b1bcb8617bc4c912f25ea90ccc4f645228250192c9eef8b5b8904a9affe1f924cf36ece2f5b03c55effe15ec133999c57d1b8fbdb09b095dd79363be2993481051937dca01cb26bce1bebf4be3a357a920b408ed943acd41b2f20055c8d34de66b36be9e6953dfc8f973e3c6e10219787207069349f1cb88efc2efe270785b0a7ada2cc6cb06341bba16b91bb4b25629f8cb9e49b0d0095ef501635bae8e289d236eb
  <input hidden> 'expires': 1419957917
  <input text> 'userid': 
  <input password> 'password': 
  <input checkbox> 'remember': true

from rvest.

hadley avatar hadley commented on August 22, 2024

I think you need to get the latest dev version. I get:

<form> '<unnamed>' (POST )
  <input hidden> 'is_continue': false
  <input hidden> 'token': 5e470541aa75b6efddb7331acff0fe4a713d99ae1da3b9ed2d5c2edcab80e87f9ab148688c8a6d5b70c3888c9207cc664d9e0f52617b6a93d8baf2b12c21f6566695e7b95cb6c27a8ccbe4566283cb127c9d8f4ddf233f598ca31d4b52a41b68612846b1bd785ccbf162e3d179ea15bb08076b582c7d06b4089a30b3e9dffe2750d1296a922151ac516e04f414764868040493e57ab5cd43637b7bebfa16f7af7c48ba56619d454b2e5a76007ea11d22c053c6f9356f67156ca0a1c99b5d1a56dda4094d016ec5ae2dace1317fb82a86e7bbbbf1f6a0a9b111632393abbbf1b5247cbe93d9fa424a6b7d1b2c686925611b73e9dd885525aec856212fbcedef07
  <input hidden> 'expires': 1420068949
  <input text> 'userid': 
  <input password> 'password': 
  <input checkbox> 'remember': true
  <button submit> '<unnamed>

from rvest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.