tomas / tomas/needle

Is it possible to obtain the last url using await needle()?

Open
#358 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.6k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

basically the title. For example in this case>
let document = await ndl('get', link, { follow_max: 5})
How can I get the last url?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ndl('get', link, { follow_max: 5 }) example and inspect how the awaited result represents redirects. Determine whether the final URL is exposed by the existing response and document or add a clear way to obtain it. Done means the requested URL can be retrieved after following redirects.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
networking
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.