2015-12-23, 06:41
Why is it that if a url function precedes a custom function, the details are returned for the function preceding that url function until another custom function is run? i.e.: details for GetAlbumInfobyREID are returned in GetMBWorkID and GetFanartvThumbbyMBrgid. This displays <studio> multiple times for example.
In the scraper I wrote here if I move GetAlbumThumbCAAbyRGID to the bottom of the tree, the following url functions add details from GetAlbumInfobyREID twice, once for GetMBWorkID and again for GetFanartvThumbbyMBrgid.
It seems that a url function is not completed unless it is at the end of the function list.
Hope this makes sense.
I could produce a debug to show this if needed. But it is more than probable that I just don't understand the logic and I need to end the url function somehow.
In the scraper I wrote here if I move GetAlbumThumbCAAbyRGID to the bottom of the tree, the following url functions add details from GetAlbumInfobyREID twice, once for GetMBWorkID and again for GetFanartvThumbbyMBrgid.
It seems that a url function is not completed unless it is at the end of the function list.
Hope this makes sense.
I could produce a debug to show this if needed. But it is more than probable that I just don't understand the logic and I need to end the url function somehow.