15 Replies - 845 Views - Last Post: 21 May 2012 - 06:53 PM
#1
Connect python on a site
Posted 07 May 2012 - 06:57 PM
Replies To: Connect python on a site
#3
Re: Connect python on a site
Posted 07 May 2012 - 07:25 PM
#4
Re: Connect python on a site
Posted 07 May 2012 - 07:42 PM
#5
Re: Connect python on a site
Posted 08 May 2012 - 04:10 AM
#6
Re: Connect python on a site
Posted 08 May 2012 - 12:52 PM
#7
Re: Connect python on a site
Posted 08 May 2012 - 03:36 PM
#8
Re: Connect python on a site
Posted 08 May 2012 - 04:32 PM
How can I do this?
#9
Re: Connect python on a site
Posted 08 May 2012 - 04:38 PM
#10
Re: Connect python on a site
Posted 08 May 2012 - 05:00 PM
#11
Re: Connect python on a site
Posted 08 May 2012 - 06:56 PM
Then, you want the URL of wherever that site sends you to?
If the site uses query strings, you might be able to get the URL of the search results without actually doing a search. For example, let's look at Google.
If I want to google the expression "gimme teh codez" I could just type in http://www.google.co...immeh+teh+codez if I wanted to search for "hello world" I could just go to http://www.google.co...h?q=hello+world Thus, for any string I want to search, I could replaces the spaces in the string with plus signs and append it to the back of http://www.google.com/search?q= It's possible you can utilize the same concept, but I'm really not the guy to ask.
P.S. this is called a query string.
#12
Re: Connect python on a site
Posted 10 May 2012 - 07:42 PM
atraub, on 08 May 2012 - 06:56 PM, said:
Then, you want the URL of wherever that site sends you to?
If the site uses query strings, you might be able to get the URL of the search results without actually doing a search. For example, let's look at Google.
If I want to google the expression "gimme teh codez" I could just type in http://www.google.co...immeh+teh+codez if I wanted to search for "hello world" I could just go to http://www.google.co...h?q=hello+world Thus, for any string I want to search, I could replaces the spaces in the string with plus signs and append it to the back of http://www.google.com/search?q= It's possible you can utilize the same concept, but I'm really not the guy to ask.
P.S. this is called a query string.
Thanks. I can manipulate the url.
My problem now is that: I send my string to search the site and I can load the site. The site has a download button. How, in python, I click that button and I download files?
*I do not know the URL of the download
#13
Re: Connect python on a site
Posted 21 May 2012 - 04:10 PM
I can send the information to search in site. How to download data from the search?
#14
Re: Connect python on a site
Posted 21 May 2012 - 06:06 PM
#15
Re: Connect python on a site
Posted 21 May 2012 - 06:46 PM
atraub, on 21 May 2012 - 06:06 PM, said:
OK. Using scrapy and BeautifulSoup I can navigating in site. But how to download the contents of the site?
|
|

New Topic/Question
Reply



MultiQuote




|