# Web source help

**URL:** <https://community.mp3tag.de/t/web-source-help/48624>\
**Category:** Web Sources Discussion\
**Created:** [April 17, 2020, 11:42pm UTC](https://community.mp3tag.de/t/web-source-help/48624 "2020-04-17T23:42:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Romano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/romano/32/7465_2.png) [@Romano](https://community.mp3tag.de/u/Romano)\
**Post date:** [April 17, 2020, 11:42pm UTC](https://community.mp3tag.de/t/web-source-help/48624/1 "2020-04-17T23:42:36Z")

</div>

@dano or someone, just a question please.

i made a webscript and it works but if the search page as fewer results than the  
While 99 (per example)  
it gives an error.

I mean if the results are 4, and i put "do...While 10" it gives an error.  
can someone point me to a correct way to change this?

---

<div class="post-metadata">

**Author:** ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)\
**Post date:** [April 22, 2020, 9:04am UTC](https://community.mp3tag.de/t/web-source-help/48624/2 "2020-04-22T09:04:42Z")

</div>

It means your code to exit the loop is not correct.
