[HELP] Auto-generate a search query on sa-mp forums.
#1

Hello there everyone,
first of all, do not be deceived by the title and think that's something fancy or anything, I just couldn't find a more reasonable title, that's all.

Lots of users on forums put links that forwards you to a list of all their work,
I tried to do the same, I went a head and filtered my search query to show only threads started by me in specific sections, but the query had some sort of Id (can be seen on the url) that expires after few minutes,

I'm here to ask if anyone could tell how can I generate auto search queries that do not expire.
Reply
#2

Try to host a list with links?
You can make a list on github and view it as raw or somethin'
Reply
#3

Replace the "showthread.php" with "showpost.php". Replace the "p=" with "t=". After the large number type "&postcount=number" of the post.

EXAMPLE:
https://sampforum.blast.hk/showthread.php?pid=3925255#pid3925255

http://forum.sa-mp.com/showpost.php?...5&postcount=15
Reply
#4

For example, this
http://forum.sa-mp.com/search.php?do...&starteronly=1
should give you all the threads I've ever started, even if you're not logged in.

It works with wget.



The regex is unfinished and the HTML tags are messy, but it kinda works.
Reply
#5

Information about a search via URL can be found here.

Mine is the following:
Reply
#6

Thanks a lot guys, that helped.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)