Skip to content

zaladhaval/UpdateCatalogParseLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UpdateCatalogParseLib

This library was made to help me or anyone else using it collect data from https://www.catalog.update.microsoft.com/ in comfortable and usable way.

Credits

Big thanks to Poushec (https://github.com/Poushec/Poushec.UpdateCatalogParser) and his C# module. At first I refered this library for creating Java compatible library.)

How to use it

Right now there is only two functions available.

SendSearchQuery(HttpClient client, string Query)

This method will return you collection of CatalogResultRow objects. Each of this objects represent search result from catalog.update.microsoft.com with data available through search results page only:

  1. Update's ID
  2. Title
  3. Products
  4. Classification
  5. Last Updated date
  6. Version
  7. Size
  8. Size in bytes

If ignoreDublicates parameter is TRUE than function will return only updates with unique Title and SizeInBytes fields.

GetUpdateDetails(HttpClient client, string UpdateID)

If you need to get more information about some update you've found from previous method - you need to use this function and pass it's UpdateID parameter to it. It will return you object derived from UpdateBase class (ether Update or Driver classes) with all information available about it from details page or download page. Like list of HardwareIDs if it is a driver or Supersedes if it is an Update.

Limitations

What this library does - is basicly parses HTML pages from catalog.update.microsoft.com, so it's derives it's limitations directry from it.

  • It cannot return more than 1000 search results at once.
  • It's speed depends on how fast your connection with catalog is. On my testing environment (1Gb/s internet connection) SendSearchQuery method running about 40 seconds.

About

Java module for searching and downloading offline updates from

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages