# \[WS\] - How to delay results retrieval while searching?

**URL:** https://community.mp3tag.de/t/ws-how-to-delay-results-retrieval-while-searching/63736
**Category:** Web Sources Discussion
**Created:** [February 10, 2024, 11:30pm UTC](https://community.mp3tag.de/t/ws-how-to-delay-results-retrieval-while-searching/63736 "2024-02-10T23:30:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![anton](https://community.mp3tag.de/user_avatar/community.mp3tag.de/anton/32/16235_2.png) [@anton](https://community.mp3tag.de/u/anton)
#### Post date: [February 10, 2024, 11:30pm UTC](https://community.mp3tag.de/t/ws-how-to-delay-results-retrieval-while-searching/63736/1 "2024-02-10T23:30:07Z")

</div>

Hi all!

Currently I'm trying to implement/develop a script to make use of Metal-Archive's advanced search, however I am facing a rather peculiar issue as the results page takes a while to be fully rendered/loaded and MP3Tag is retrieving an incomplete page.

Take for example [this search](https://www.metal-archives.com/search/advanced/searching/albums?releaseYearFrom=&releaseMonthFrom=&releaseYearTo=&releaseMonthTo=&country=&location=&releaseLabelName=&releaseCatalogNumber=&releaseIdentifiers=&releaseRecordingInfo=&releaseDescription=&releaseNotes=&genre=&releaseFormat%5B%5D=CD&releaseFormat%5B%5D=Cassette*&releaseFormat%5B%5D=Vinyl*&releaseFormat%5B%5D=VHS&releaseFormat%5B%5D=DVD&releaseFormat%5B%5D=Digital&releaseFormat%5B%5D=Blu-ray*&releaseFormat%5B%5D=Other&bandName=Iced+Earth&releaseTitle=Alive+in+Athens#albums) (Iced Earth - Alive in Athens).

By going to that page there will be some information (search help/guidelines) and site's general layout will be loaded almost instantly, however the actual filters, and results will take a few seconds to load (up to 5 according to my tests).

When I try to search for that album using MP3Tag's search dialog, it almost instantly says that no results were found, and after reviewing the `debugwriteinput` file/content it shows and incomplete HTML (only includes the filters, but not the results).

Based on this scenario, there's a way to "pause" script execution, or to delay results retrieval in order to have a chance to retrieve the full HTML and not just a partial one?

Thanks in advance.

Regars.
