Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


Tutorial Selenium tut for scraping filter_list
Author
Message
RE: Selenium tut for scraping #3
I can't get a great look at the code since I'm on mobile, but you should methodize the program (i.e., use methods to split it into chunks) and let it take command line arguments (the String[] args in main) to scrape the user's desired site. Also, with sites using couldflare, you need to give it a few seconds to pass the DDoS protection page.



(08-26-2016, 09:03 AM)BORW3 Wrote: I need to know, can I use Selenium on any PC after creating a java application? Or I need to install Selenium on each PC I intend to use the application on?

After compiling ("creating", in your terms) the program, it will work on any computer you use it on. That's why Java requires import statements for everything: import statements tell the compiler what to include in the final product. Additionally, since Java is completely cross-platform, you can run it on any computer that has Java installed, not just PC.
It's often the outcasts, the iconoclasts ... those who have the least to lose because they
don't have much in the first place, who feel the new currents and ride them the farthest.

Reply





Messages In This Thread
Selenium tut for scraping - by Riddle - 08-08-2016, 02:19 AM
RE: Selenium tut for scraping - by BORW3 - 08-26-2016, 09:03 AM
RE: Selenium tut for scraping - by Inori - 08-26-2016, 04:54 PM
RE: Selenium tut for scraping - by BORW3 - 08-27-2016, 12:05 PM
RE: Selenium tut for scraping - by Inori - 08-27-2016, 02:33 PM
RE: Selenium tut for scraping - by BORW3 - 08-29-2016, 01:54 PM
RE: Selenium tut for scraping - by Inori - 08-29-2016, 04:22 PM
RE: Selenium tut for scraping - by Ex094 - 08-29-2016, 03:34 PM
RE: Selenium tut for scraping - by Wildfire - 08-30-2016, 04:03 AM
RE: Selenium tut for scraping - by BORW3 - 08-31-2016, 09:12 AM



Users browsing this thread: 2 Guest(s)