Advertisement:

Author Topic: List of every possible parameter to different pages?  (Read 757 times)

Offline franksalinas

  • Newbie
  • *
  • Posts: 3
List of every possible parameter to different pages?
« on: November 24, 2018, 06:53:51 PM »
Parameters that can be passed to any pages like :

?wap, ?imode

Some to just topics like :

?topicseen

Others like :

?action=printpage

I couldn't find them in the docs. Is there somewhere with an extensive list that explains what each argument does? Thanks.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,512
  • Gender: Male
    • Kindred-999 on GitHub
Re: List of every possible parameter to different pages?
« Reply #1 on: November 24, 2018, 07:02:33 PM »
No, there is no such list...

I guess that You can look at the action list in index.php
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline franksalinas

  • Newbie
  • *
  • Posts: 3
Re: List of every possible parameter to different pages?
« Reply #2 on: November 24, 2018, 07:08:22 PM »
No, there is no such list...

I guess that You can look at the action list in index.php

Hmm, thanks for the quick answer.

If I can't get a list of everything to try and work through it myself, could you help me with the fastest way to scrape a forum for example? An admin gave me permission to send as many requests to his forum, and I would like to create a bot to help with some specific features.

I learned about wap mode and ?action=printpage, (even though it's limited to 20 pages..) they could be very handy in massively speeding up the efficiency of the scraping tool. Would you know other things I might need that could facilitate data extraction? Anything you can think of is welcome! Thanks again.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 69,917
    • StoryBB/StoryBB on GitHub
Re: List of every possible parameter to different pages?
« Reply #3 on: November 24, 2018, 07:12:13 PM »
There is a truly enormous list of all such permutations..

If you’re scraping, why not just get a copy of the database and do what you need to with that?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,512
  • Gender: Male
    • Kindred-999 on GitHub
Re: List of every possible parameter to different pages?
« Reply #4 on: November 24, 2018, 07:13:52 PM »
Yeah,there is no good way to scrape like that... but if you have permission, then just get the data straight from the database tables
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline franksalinas

  • Newbie
  • *
  • Posts: 3
Re: List of every possible parameter to different pages?
« Reply #5 on: November 24, 2018, 07:23:49 PM »
I'm just a member of those forums :) Permission is more like "Yeah sure whatever", rather than the admins actively assisting me with my tool. So no access to the posts DB I'm afraid..

I simply thought to ask here because there may be some actions or parameters that return something more developer friendly, I already coded a part that retrieves every post of a user, while removing everything he quotes from other users.

Right now what I'd like would be :
Being able to very quickly go through posts of a specific topic, ?action=printpage would be perfect if it wasn't limited to 20 pages
Being able to list a lot of topics of a specific board?
Maybe different format than html?

I don't know really, I CAN make my tool work with pure html, but it wasn't easy parsing it. So yeah, again, I'm looking for anything that could improve my quality of life

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,512
  • Gender: Male
    • Kindred-999 on GitHub
Re: List of every possible parameter to different pages?
« Reply #6 on: November 24, 2018, 11:31:59 PM »
Not really...   the system is not designed to do what you are trying to do...
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 69,917
    • StoryBB/StoryBB on GitHub
Re: List of every possible parameter to different pages?
« Reply #7 on: November 25, 2018, 05:58:24 AM »
Lets start with a better question. Instead of fixating on how you need to do something, what is your end goal? What are you, overall, trying to achieve?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.