Deer-Spangle / faexport

The API for Furaffinity you wish existed
https://faexport.spangle.org.uk
BSD 3-Clause "New" or "Revised" License
67 stars 11 forks source link

Submission count cuts off at 72 #27

Closed king-cony closed 6 years ago

king-cony commented 6 years ago

Hi,

I'm experiencing an issue where the API submission list will cut off at 72 submissions if the user's gallery exceeds that number. This happens with both sfw & nsfw submissions. (all links are sfw)

http://faexport.boothale.net/user/strange-fox/gallery.xml?sfw=1 https://www.furaffinity.net/gallery/strange-fox/

this and everything before it isnt in the list: https://www.furaffinity.net/view/2555669/

http://faexport.boothale.net/user/-lofi/gallery.xml?sfw=1 https://www.furaffinity.net/gallery/-lofi/

this and everything before it isnt in the list: https://www.furaffinity.net/view/19306091/

http://faexport.boothale.net/user/kenket/gallery.xml?sfw=1 https://www.furaffinity.net/gallery/kenket/

this and everything before it isnt in the list: https://www.furaffinity.net/view/22732910/

Thanks in advance!

king-cony commented 6 years ago

Just ran a local test server vm on my machine. Instead of it cutting off at 72 submissions, it cuts off at 48. I have no idea why this is, any help is appreciated!

king-cony commented 6 years ago

EDIT: My last two brain cells just realized that i could change the page number using '?page'. Sorry for all the confusion

king-cony commented 6 years ago

Alright so I may have discovered an actual issue this time. I'm unable to switch pages while sfw filtering is enabled, it only returns the first page as seen here.

http://faexport.boothale.net/user/gorath/gallery.json?swf=1?page=1 http://faexport.boothale.net/user/gorath/gallery.json?swf=1?page=2 http://faexport.boothale.net/user/gorath/gallery.json?swf=1?page=8347334

Is this an actual bug, or do I just got the syntax wrong.

king-cony commented 6 years ago

Sorry my room temperature IQ brain didnt realize that you use '&' to add additional parameters. I'm closing this and never coming back

boothale commented 6 years ago

All good, glad you got it figured out :)