Announcement

Collapse
No announcement yet.

Wget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wget

    I have been using wget now for many years, I used it alot on my Anime image board tools I created in the past what called on it's API to return a json list Anyone whom was around when shadow was you will of seen our posts many times.

    Well many people always seemed to be confused on how we did this when http was so slow or locked up the app shadow used curl at first I believe and then we both moved to wget, shadow was much better at this and my code is still based on this original concept.

    So I have created a plugin based on wget 1.21.1

    This little plugin is only basic right now as I only tested it on/in my anime app for calling a API.

    Wget for AMS:
    With this plugin you can used the 3rd party tool wget to do api called to websites rather then using AMS's slower http call, and on larger calls what you know will block the app you will be able to do these calls without the worry of AMS locking up.


    ChangeTempDIR:
    As the name says, this changed the temp folder from %temp% to what ever you pick

    Wget.DisableCleanUP:
    Some times your API might be playing up or your not sure what it's returning as, this will enable you to disable the deletion option of ~Wams.temp file what is the source of your calls return

    Wget.SetBit:
    This option shouldn't be needed but if you do need to drop back to to a 32 bit version you can use this do do that.


    Wget.WebCall:
    This is the main function what you will need.
    Help file is wrong here Request type is boolean. (GET = false, POST = true)

    There are a hand full of preset user agents for windows using Firefox more will be added in the future, your able to also set your own using a string.


    The SetQuiet and SetSwtich's functions haven't really been tested yet.

    SetQuiet disabled the -q option in wget but we don't show the running of the cmd window there for this might not return anything different.
    SetSwitchs lets you set other wget switchs.

    Wget 0.0.0.1.zip


    I do have plans on updating this more, EG arugments using the --post-file option rather then --post-data option, and more but for now I wanted to get it out there and get peoples ideas on views.
    I also want to try and get a tor version but I never been able to get any tor commandline tool working with AMS as of yet.
    Plugins or Sources MokoX
    BunnyHop 2021 Here

  • #2
    Nice work, nice scalability too.
    Bas Groothedde
    Imagine Programming :: Blog

    AMS8 Plugins
    IMXLH Compiler

    Comment


    • #3
      Originally posted by Imagine Programming View Post
      Nice work, nice scalability too.
      I want to do more with it, but I haven't been well enough to study the other options, I have been using it in many other projects and good few people have asked how, rather then say here take code and hope it works I made a little plugin.

      The wording could be better, the names of function could be better but it's been a long time since I have created anything for people to use, been able to torfi ams easy well from what I been reading isn't easy but at least wget does a good job to talk to websites useful for API's in to AMS.

      I am open to ideas and things like this, also IP ... HI hope your well bud and thanks for the reply.
      Plugins or Sources MokoX
      BunnyHop 2021 Here

      Comment


      • #4
        Originally posted by kingzooly View Post

        I want to do more with it, but I haven't been well enough to study the other options, I have been using it in many other projects and good few people have asked how, rather then say here take code and hope it works I made a little plugin.

        The wording could be better, the names of function could be better but it's been a long time since I have created anything for people to use, been able to torfi ams easy well from what I been reading isn't easy but at least wget does a good job to talk to websites useful for API's in to AMS.

        I am open to ideas and things like this, also IP ... HI hope your well bud and thanks for the reply.
        Hi bud I'm well and I hope you are too. I've been really busy at work the past year, but that's going to change this week (switching jobs).

        Bas Groothedde
        Imagine Programming :: Blog

        AMS8 Plugins
        IMXLH Compiler

        Comment


        • #5
          Originally posted by kingzooly View Post
          I have been using wget now for many years, I used it alot on my Anime image board tools I created in the past what called on it's API to return a json list Anyone whom was around when shadow was you will of seen our posts many times.

          Well many people always seemed to be confused on how we did this when http was so slow or locked up the app shadow used curl at first I believe and then we both moved to wget, shadow was much better at this and my code is still based on this original concept.

          So I have created a plugin based on wget 1.21.1

          This little plugin is only basic right now as I only tested it on/in my anime app for calling a API.

          Wget for AMS:
          With this plugin you can used the 3rd party tool wget to do api called to websites rather then using AMS's slower http call, and on larger calls what you know will block the app you will be able to do these calls without the worry of AMS locking up.


          ChangeTempDIR:
          As the name says, this changed the temp folder from %temp% to what ever you pick

          Wget.DisableCleanUP:
          Some times your API might be playing up or your not sure what it's returning as, this will enable you to disable the deletion option of ~Wams.temp file what is the source of your calls return

          Wget.SetBit:
          This option shouldn't be needed but if you do need to drop back to to a 32 bit version you can use this do do that.


          Wget.WebCall:
          This is the main function what you will need.
          Help file is wrong here Request type is boolean. (GET = false, POST = true)

          There are a hand full of preset user agents for windows using Firefox more will be added in the future, your able to also set your own using a string.


          The SetQuiet and SetSwtich's functions haven't really been tested yet.

          SetQuiet disabled the -q option in wget but we don't show the running of the cmd window there for this might not return anything different.
          SetSwitchs lets you set other wget switchs.

          [ATTACH]n307252[/ATTACH]


          I do have plans on updating this more, EG arugments using the --post-file option rather then --post-data option, and more but for now I wanted to get it out there and get peoples ideas on views.
          I also want to try and get a tor version but I never been able to get any tor commandline tool working with AMS as of yet.
          Thank you very much,
          ​​​​​​I desperately needed it

          Comment


          • #6
            Originally posted by Imagine Programming View Post

            Hi bud I'm well and I hope you are too. I've been really busy at work the past year, but that's going to change this week (switching jobs).
            Good luck in the new job hopefully you will have some you time with the new job.

            Originally posted by Sina Dehghani View Post

            Thank you very much,
            ​​​​​​I desperately needed it
            This isn't any different to the code I already provided you and explained how to use, so if you couldn't use my code this will offer the same problems as the code did, but if you have found this useful then your welcome.
            Plugins or Sources MokoX
            BunnyHop 2021 Here

            Comment

            Working...
            X