Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
142 views
in Technique[技术] by (71.8m points)

web scraping - Simple automation tool for logging into website and updating

There are a couple websites I routine log into to update calendar information. This is very routine without a lot of change. With the exception of the log in fields, it only involves right click (no other keyboard input). What "language" would be well suited for the task? I think website scraping would be overkill and am considering Autohotkey or AutoIt. It probably would be best if I could record the script by doing it manually first, then tweak the script by hand.

My default browser is Firefox but for this task I don't care what is used. Speed and performance is not a huge deal, as the task is fairly simple.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

As you were talking about web scraping, I would assume you have bit of coding background.

Just as mentioned in comment, You are searching for Selenium WebDriver. It's a advanced library for automating browser activities (for IE,FF & Chrome).

There are 2 options available with Selenium

  1. Selenium IDE: This is Firefox plugin, helps in record and play. Auto generates code, however it's of old version.
  2. Writing selenium WebDriver scripts. It has learning curve which is relatively easy but not as easy as Autohotkey or AutoIt.

Hope it helps.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

56.9k users

...