I want to download attachments from a vbulletin forum with login. It always gives me an error about unspecified length. In the thread itself only thumbnails are displayed, but i want the full resolution which is in the attachments. I am targeting only the *.jpg, not the rest of the forum.
The url looks something like this: http://www.page.com/attachment.php?attachmentid=1234567&d=1234567890
(I think both numbers "attachmentid" and "d" are random and independent from each other.)
When I try mirroring the whole page everything works except the attachments(thumbnails are downloaded).
Any ideas how I can solve this issue?
Cheers
PS: Httracker brings me to the same problem, alternative solutions welcome as well :)
As you mentioned about "download attachments from a vbulletin forum with login", make sure you have done the login part. So the steps will be as follows.
1) Make the login using wget, and store the cookie into a txt file. Parameter can be --save-cookies
2) Now call the attachment download portion using another wget call and use the cookie.txt(of step 1) with this call. The parameter can be --load-cookies
More detailed about the wget parameters can be found from here.
Both attachmentid and Id can not be random at the same time. Otherwise the forum can not recognize at which attachment you are focusing on.
Related
I understand that this might be too specific but I am still quite new and having some difficulty figuring this out. So, I am hoping someone can offer up a clear command which can achieve my goal.
My goal is to download a page from Moodle. Now, this is Moodle 3.9 but I don't think this matters. The page is a wiki which is part of Moodle. So, there are child pages, links, images, etc. Now, each student gets their own wiki and it is available by URL. However, one must be logged in to access the URL or else a login page will show up.
I did review this question, which seemed like it would help. It even has an answer here which seems specific to Moodle.
By investigating each of the answers, I learned how to get the cookies from Firefox. So, I tried logging into Moodle in my browser, then getting the cookie for the session and using that in wget, according to the Moodle answer cited above.
Everything I try results in a response in Terminal like:
Redirecting output to 'wget-log.4'
I then found out where wget-log files are stored and checked the contents, which seemed to be the login page from Moodle. While I am quite sure I got the cookie correct (copy-and-paste) I am not sure I got everything else correct.
Try as I might (for a couple of hours), I could not get any of the answers to work.
My best guess for the command is as follows:
wget --no-cookies --header "Cookie: MoodleSession=3q00000000009nr8i79uehukm" https://myfancydomainname.edu/mod/ouwiki/view.php?id=7&user=160456
It just redirects me to the wget-log file (which has the Moodle login page).
I should not need any post data since once logged into my browser, I can simply paste this URL and it will take me to the page in question.
Any ideas what the command might be? If not, any idea how I could get some pretty clear (step-by-step) instructions how to figure it out?
I have been looking into how to venmo deeplinking schemes and am trying to open a user's account based on their username. I looked all over the internet for this and closest I came was this blog post. The person in the blog post is so close to achieving what I'm going for but I still can not figure it out. I tried changing up the "venmo://users" multiple times trying to open up a profile with a username but nothing has worked. How can I accomplish this?
Thank you in advance
I found a tricky way to finding out Venmo's deep link to a user's account. On this site https://app.urlgeni.us/ you can paste the URL you're trying to get the deep link for and it'll provide iOS and Android information.
Also, by reviewing how it works, it provides an API (https://app.urlgeni.us/api/internal/test_url) to which you must invoke (POST method) and it'll return the deep link, by sending a JSON input as the following:
{"url":"venmo.com//UserName"}
Response will include something like:
"android_scheme": "intent://user?user_id=XXXXXXX#Intent;package=com.venmo;scheme=venmo;end",
"ios_scheme": "venmo://users/XXXXXXX"
Is there a way to send some a url (or other thing) to a site such that data in a form is already filled out? This is not to my own site that I control.
For example, I want to send a link to some airline flights and want to have the destination and date be automatically filled out when the link is opened.
I'm guessing not, but have gotten lucky here before :) Maybe with some kind of program or add-on or??
If its written with GET method so just try to play with the site and just put the url with all the args you found.
If it is POST, so you need to create an add-on or pretend to a browser, search the net for this kind of solution.
No, that's not possible, if the remote site is not ready for that.
I have a website with a link that says "Click here to claim your prize" and that link goes to a Sales Force catch all web-to-lead form (that multiple sites use and it has a site ID that I append to the URL so the data goes to the right account)
When a user clicks that link and goes to the form page a string (in this case it's the promo code "my prize") needs to be passed to that form page and placed in the comments form field.
My questions are how is this done, are there any tutorials you could point me to, and is there a better method for accomplishing this?
What I'm trying to avoid is having the link say "Click here to win a free prize! Must enter "My Prize" in the comments" and having the user manually enter the promo code.
Thanks muchly in advance for your help!
I've used a handy jQuery script in the past called preset.js, although the instructions are not that great it's fairly simple to implement, you may have to pick through his source code though.
This question may be better on stack overflow but I found this blog post which shows example code using php and cURL to post to the web-to-lead form
http://www.paulwest.co.uk/article.php/salesforce-form-integration-with-php
This is another post about pushing leads to salesforce with php
http://sim.plified.com/2009/02/13/pushing-leads-to-salesforce-with-php/
And one more for good luck
http://www.seobywebmechanix.com/salesforce-php-form-processor-curl-tutorial
Hope these help
ive seen many tutorials on setting up your facebook app
but i havent found anything that worked for me
best i found is a tutorial in youtube on link below
http://www.youtube.com/watch?v=zxIl4fUIXS4&feature=fvwrel
im not really sure on what im doing sice i dont know much about using php
i do know how to use asp.net and iis
in the tutorial he have a facebook.php downloaded from PHP SDK and index.php
i downloaded the facebook.php
and typed the content of his index.php on my notepad and saved as index.php
both file is found on my //localhost/facebook/firstpracticeapp/
i did try that that path works i put a sample.html file inside that and accessed is on browser using below just to see if it works and it does..
//localhost/facebook/firstpracticeapp/sample.html
now that i know it works i then setup the details of my app
used http://localhost/facebook/firstpracticeapp/ as Canvas URL
used http://apps.facebook.com/firstpracticeapp as Canvas Page
btw i edited the index.php as said on tutorial changing the app secret and app id to what was given to me...
not really sure what i missed but it says on tutorial if i run use my canvas page on browser it should display what is displayed on the tutorial
only thing i get is an error saying
HTTP Error 405.0 - Method Not Allowed
The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.
Detailed Error Information
Module DirectoryListingModule
Notification ExecuteRequestHandler
Handler StaticFile
Error Code 0x80070001
Requested URL http:// localhost:80/facebook/firstpracticeapp/
Physical Path C:\FILES\Projects\facebook\firstpracticeapp\
Logon Method Anonymous
Logon User Anonymous
can someone tell me what seems to be the problem?
im thinking its the php i dont have enough info on how to use it
and i did it differently on what was on the tutorial cause i dont know idea what that phpacademy is for
if you guys know better link which is more detailed please reply with link
btw if you found spaces after http its because i cant post more than 2 links so i decided to put space there :)
many thanks
...nevermind, I was using out of date info.