Skip to content

Commit

Permalink
Different User-Agent
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Dec 13, 2024
1 parent 1470967 commit c8702a1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Figure out IP
run: |
curl https://ipinfo.io
- name: Try curl to get to opensource.org
run: |
curl -I https://opensource.org/ \
-v \
--http1.1 \
-H "Host: opensource.org" \
-H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0 Sphinx/7.2.6" \
-H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" \
-H "Accept-Encoding: gzip, deflate" \
-H "Accept: */*" \
-H "Connection: keep-alive"
Expand Down

0 comments on commit c8702a1

Please sign in to comment.