Calguns.net  

Home My iTrader Join the NRA Donate to CGSSA Sponsors CGN Google Search
CA Semiauto Ban(AW)ID Flowchart CA Handgun Ban ID Flowchart CA Shotgun Ban ID Flowchart
Go Back   Calguns.net > GENERAL DISCUSSION > Technology and Internet
Register FAQ Members List Calendar Mark Forums Read

Technology and Internet Emerging and current tech related issues. Internet, DRM, IP, and other technology related discussions.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-19-2021, 6:57 PM
JDoe JDoe is offline
CGN/CGSSA Contributor - Lifetime
CGN Contributor - Lifetime
 
Join Date: Jul 2008
Posts: 2,094
iTrader: 0 / 0%
Default Language to interact with websites

What programming languages are useful/better for interacting with websites. I want to be able to send input and then get output for a specific project.
__________________
Reply With Quote
  #2  
Old 04-19-2021, 7:14 PM
Fizz's Avatar
Fizz Fizz is offline
Senior Member
 
Join Date: Feb 2012
Location: San Diego
Posts: 1,352
iTrader: 18 / 100%
Default

You need to clarify what you're trying to accomplish.

Python can be readily used for web scraping. Here's a guide that describes this from elementary principles onward. https://realpython.com/beautiful-sou...s-web-scraping

If you're trying to say, fill out a form on a website automatically, and get some content/value from the page, programming LANGUAGES might not be the best solution.

For example, you can use iMacros to take a database of values, type them into web forms automatically, and retrieve information/content from the resulting pages. Imacros can do all sorts of web scraping as well. It can be commanded with JavaScript language, but this isn't a strict requirement. This is one of the few viable methods if the page you're interacting with has a captcha (I'm not a robot - type images) - since you can pause and have an human validate the captcha but let all other processes be automatic.

https://wiki.imacros.net/Introducing_iMacros

Example. You want to take a database (CSV) of first name, last name, DOB, address and automatically register the list of people for an event with an online form, and retrieve a confirmation ID/Receipt number from the page associated with each person. This could be done with imacros, Python or Javascript.

I like Python as a general purpose '**** around' do anything language because of the ease of syntax, huge community of support if you need it, and loads of built in modules. But for two way information with websites, imacros is the better solution IMO.
Reply With Quote
  #3  
Old 04-19-2021, 8:26 PM
JDoe JDoe is offline
CGN/CGSSA Contributor - Lifetime
CGN Contributor - Lifetime
 
Join Date: Jul 2008
Posts: 2,094
iTrader: 0 / 0%
Default

Quote:
Originally Posted by Fizz View Post
You need to clarify what you're trying to accomplish.

Python can be readily used for web scraping. Here's a guide that describes this from elementary principles onward. https://realpython.com/beautiful-sou...s-web-scraping

If you're trying to say, fill out a form on a website automatically, and get some content/value from the page, programming LANGUAGES might not be the best solution.

For example, you can use iMacros to take a database of values, type them into web forms automatically, and retrieve information/content from the resulting pages. Imacros can do all sorts of web scraping as well. It can be commanded with JavaScript language, but this isn't a strict requirement. This is one of the few viable methods if the page you're interacting with has a captcha (I'm not a robot - type images) - since you can pause and have an human validate the captcha but let all other processes be automatic.

https://wiki.imacros.net/Introducing_iMacros

Example. You want to take a database (CSV) of first name, last name, DOB, address and automatically register the list of people for an event with an online form, and retrieve a confirmation ID/Receipt number from the page associated with each person. This could be done with imacros, Python or Javascript.

I like Python as a general purpose '**** around' do anything language because of the ease of syntax, huge community of support if you need it, and loads of built in modules. But for two way information with websites, imacros is the better solution IMO.

Thank you Fizz! That is the kind of info/help I was looking for and is what I wanted to do.
__________________
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -8. The time now is 2:14 AM.




Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Proudly hosted by GeoVario the Premier 2A host.
Calguns.net, the 'Calguns' name and all associated variants and logos are ® Trademark and © Copyright 2002-2021, Calguns.net an Incorporated Company All Rights Reserved.
All opinions, statements and remarks made by Calguns.net on this web site and elsewhere are solely attributable to Calguns.net.



Seams2SewBySusy

Tactical Pants Tactical Boots Military Boots 5.11 Tactical