Re: [Talk-gb-westmidlands] Downloading Slippy Maps / User-Agent

2019-07-09 Thread Ed Loach
I've recently written an application to download (non-OSM) information 
automatically by basically automating what I previously did manually. In case 
the people who run the site I'm downloading from  wonder why I'm only making 
three calls to complete the authentication and download the data rather than 
all the extra ones their javascript/php site does at the same time (to check 
things for display etc) I included a descriptive application name to explain 
what the data was for, and an email address in case they wanted to reach me.

Ed

> -Original Message-
> From: Iain Simpson
> Sent: 09 July 2019 13:54
> To: talk-gb-westmidlands@openstreetmap.org
> Subject: [Talk-gb-westmidlands] Downloading Slippy Maps / User-
> Agent
> 
> "..set it to something that uniquely identifying your application,
> rather than using one from a web browser"
> 
> Thanks for the comment. I take your point and I've now created a
> unique
> user-agent, identifying the OS and application description, which
> works.
> 
> Since the standard Python agent is blacklisted,  there does not seem
> to
> be much documentation on how small non-browser applications
> (using very
> simple HTML techniques) should format their user-agents.
> 
> --
> Iain Simpson
> 
> ___
> Talk-gb-westmidlands mailing list
> Talk-gb-westmidlands@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-gb-westmidlands


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


___
Talk-gb-westmidlands mailing list
Talk-gb-westmidlands@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb-westmidlands


[Talk-gb-westmidlands] Downloading Slippy Maps / User-Agent

2019-07-09 Thread Iain Simpson
"..set it to something that uniquely identifying your application, 
rather than using one from a web browser"


Thanks for the comment. I take your point and I've now created a unique 
user-agent, identifying the OS and application description, which works.


Since the standard Python agent is blacklisted,  there does not seem to 
be much documentation on how small non-browser applications (using very 
simple HTML techniques) should format their user-agents.


--
Iain Simpson

___
Talk-gb-westmidlands mailing list
Talk-gb-westmidlands@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb-westmidlands