Skip to main content
GrN.dk

Main navigation

  • Articles
  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Breadcrumb

  1. Home

Wget The Non-Interactive Network Downloader Tips and Tricks

Many times you need to download files from the internet, specifically when you want to automate a process or two. Here is where wget comes in handy. This is a standard tool on most Linux systems.

In some cases the server you want to download from does a couple of checks, so your automation fails. You can come by that by adding a couple of switches like:

wget --user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" --auth-no-challenge URL_OF_FILE_TO_DOWNLOAD

Sometimes: wget --user-agent="Mozilla"

Will work just fine.

Last modified
2021-04-10

Tags

  • Linux
  • Script

Review Greg on Google

Greg Nowak Google Reviews

 

  • WordPress Tips and Tricks: Admin Access Recovery
  • Protocols: h2, h2c, and HTTP/1.1 Tips and Tricks
  • Nagios check_http notes for practical HTTPS monitoring
  • JavaScript-Heavy Service Pages Still Lose Leads in 2026: A Practical Rendering Audit
  • WordPress Google PageSpeed: Practical Fixes for Core Web Vitals
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.