Skip to content
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

Extract URL from headers (feature request) #97

Closed
WhilelM opened this issue Jul 10, 2020 · 4 comments
Closed

Extract URL from headers (feature request) #97

WhilelM opened this issue Jul 10, 2020 · 4 comments

Comments

@WhilelM
Copy link

WhilelM commented Jul 10, 2020

Thanks for this usefull software.

Is it possible to extract URL from headers too ?

`Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Date: Fri, 10 Jul 2020 19:16:02 -0000
To: whilelm@littlegr83
From: By The Associated Press whilelm@littlegr83
Subject: Dutch Government Sues Russia Over Downing of Flight MH17
Message-ID: dutch-government-sues-russia-over-downing-of-flight-mh17
User-Agent: feed2exec (0.15.0)
Precedence: list
Auto-Submitted: auto-generated
Archived-At: https://www.nytimes.com/video/world/europe/100000007233443/netherlands-russia-court-malaysia-airlines-flight-17.html

The Dutch foreign minister said the Netherlands was taking Russia to the European Court of Human Rights for the downing of Malaysia Airlines Flight 17 over Ukraine in 2014, killing 298 people.
`

I would like to be able to open https://www.nytimes.com/video/world/europe/100000007233443/netherlands-russia-court-malaysia-airlines-flight-17.html from this example.

Thanks for your consideration.

@firecat53
Copy link
Owner

firecat53 commented Jul 10, 2020 via email

@WhilelM
Copy link
Author

WhilelM commented Jul 11, 2020 via email

@firecat53
Copy link
Owner

Yes that's fine. I'll work on this as time permits. It appears that the 'Archived-At' and some of the 'List-' headers might be the only ones that would typically have a URL to scan. List of email headers.

@firecat53
Copy link
Owner

Better late than never! Try the headers branch and see if that adds the functionality you are looking for. Pass --headers to urlscan to active the feature.

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

No branches or pull requests

2 participants