Skip to content

Check if URL exists now send a userAgent #308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

elementaryfire89
Copy link

  • Added a preliminary https.get request to verify that the metadata endpoint responds with 200 OK before attempting the actual download.
  • The request includes a custom User-Agent required by the server-side authorization gate ("semaphore").
  • If the response is valid, the metadata is downloaded using wget.

- Added a preliminary `https.get` request to verify that the metadata endpoint responds with `200 OK` before attempting the actual download.
- The request includes a custom `User-Agent` required by the server-side authorization gate ("semaphore").
- If the response is valid, the metadata is downloaded using `wget`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant