Strange HTML doctype error when trying to run Python script from bash
<p>I have a bash script which is supposed to call a Python script stored on GitHub and run it with arguments:</p>

<pre><code>#!/bin/bash +x

wget https://github.place.otherplace.com/myrepo/repo_folder/blob/Python/pythonScript.py
chmod +x pythonScript.py
python pythonScript.py
</code></pre>

<p>I'm getting the following response:
    HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘DisputeSystem.py’</p>

<pre><code> 0K .......... .......... .......... ........               795K=0.05s

2016-06-14 11:08:24 (795 KB/s) - ‘pythonScript.py’ saved [39657]

  File "pythonScript.py", line 4
    &lt;!DOCTYPE html&gt;
    ^
SyntaxError: invalid syntax
Build step 'Execute shell' marked build as failure
[BFA] Scanning build for known causes...
[BFA] No failure causes found
[BFA] Done. 0s
Finished: FAILURE
</code></pre>

<p>I figure it has something to do with wget pulling the HTML headers as well, but I haven't been able to figure out a way to strip them. Any help is appreciated.</p>