dtfpznrbn503027700 2018-05-23 11:32
浏览 546

编写自动填写并提交Web表单程序

I am trying to write a program which can automatically fill in and submit a form in a web in particular time slot.

But i have no idea how and where to start. i searched this in google, but only resulting very general answer like using JavaScript, python. Can anyone tell me which languages should i learn first?

  • 写回答

3条回答 默认 最新

  • donglanzhan7151 2018-05-23 11:42
    关注

    The answers you found, as general as they are, are correct. I'll try to explain it to you.

    As you are trying to automatize some activity, you have to use a script language to basically

    1. Get stuff references (like getting indexes, forms/fields IDs, etc)
    2. Insert/change stuff (like filling a field, following the field references)
    3. Save stuff (prepare a file, with field references and it's content, that can be injected to the specific system or website)

    One example of script language is Python.

    So you already have your script. Now you need to inject it on the page. The programming language that can do it for you is Javascript, or JS. It allows you to talk with the webpage, GETting data/references or POSTing data.

    评论

报告相同问题?

悬赏问题

  • ¥40 图书信息管理系统程序编写
  • ¥15 7-1 jmu-java-m02-使用二维数组存储多元线性方程组
  • ¥20 Qcustomplot缩小曲线形状问题
  • ¥15 企业资源规划ERP沙盘模拟
  • ¥15 树莓派控制机械臂传输命令报错,显示摄像头不存在
  • ¥15 前端echarts坐标轴问题
  • ¥15 ad5933的I2C
  • ¥15 请问RTX4060的笔记本电脑可以训练yolov5模型吗?
  • ¥15 数学建模求思路及代码
  • ¥50 silvaco GaN HEMT有栅极场板的击穿电压仿真问题