Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9169597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:54:04+00:00 2026-06-17T15:54:04+00:00

System Info: Windows 7, GNU Wget 1.11.4, Python 2.6 The problem: Im running a

  • 0

System Info:
Windows 7,
GNU Wget 1.11.4,
Python 2.6

The problem:

Im running a python script that fires a wget shortcut, the problem is that wget (even when run purely in command line from the exe) cuts off ‘&”s. For example when i run the code below, this is what i get:

C:\Program Files\GnuWin32\bin>wget.exe
http://www.imdb.com/search/title?genres=action&sort=alpha,asc&start=51&title_type=feature

SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc syswgetrc = C:\Program
Files\GnuWin32/etc/wgetrc

–2013-01-18 12:48:43– http://www.imdb.com/search/title?genres=action Resolving
http://www.imdb.com… 72.21.215.52 Connecting to
http://www.imdb.com|72.21.215.52|:80… failed: Connection refused.

=alpha,ascThe system cannot find the file specified.

The system cannot find the file 51. ‘title_type’ is not recognized as an internal or
external command, operable program or batch file.

As you can see, wget counts all text before the ‘&’ as the URL in question, and windows take the last half as a new command(s).

There has got to be some way of allowing wget to capture that whole string as the URL.

Thanks in advance.

EDIT:
When i call the command in command line with brackets around it, it works great, however, when i run the script through python:

subprocess.Popen(['start /B wget.lnk --directory-prefix=' + output_folder + ' --output-document=' + output_folder + 'this.html "http://www.imdb.com/search/title?genres=action&sort=alpha,asc&start=51&title_type=feature"'], shell=True)

I get the following error:

SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc

syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc

"http://www.imdb.com/search/title?genres=action&sort=alpha,asc&start=51&title_ty
pe=feature": Unsupported scheme.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T15:54:05+00:00Added an answer on June 17, 2026 at 3:54 pm

    It’s not Wget that cuts off the URL, but the command interpreter, which uses & to separate two commands, akin to ;. This is indicated by the =alpha,ascThe system cannot find the file specified. error on the following line.

    To prevent this from happening, quote the entire URL:

    wget.exe "http://www.imdb.com/search/title?genres=action&sort=alpha,asc&start=51&title_type=feature"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make a twitter like system that scrolls through info slowly and
I am running a little program in python that launches a small window that
I am trying to get some info from windows via the System plugin and
I've been learning GNU Emacs on a Windows system for the last couple of
I probably did a huge mistake. relevant system info: Windows XP SP2 i686 Cygwin
I'm trying to track a process on system running Windows Vista, I tried creating
After using C# a while, I recognized that the user controls of system windows
Is there any method / API defined to collect system info in osx. I
System.err.println() in Eclipse doesn't print in red. I checked preferences > Run/Debug > console
System.Type contains an UnderlyingSystemType property. MSDN states that it: Indicates the type provided by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.