Questions tagged [geturl]

geturl can refer to a specific function in a library, API or framework. Examples of geturl methods is found in cURL, Google Places and PowerBuilder. geturl can also refer to the concept of programmatically retrieving an url (or part of a url) from a string a other resource.

can refer to a specific function in a library, API or framework. Examples of methods is found in , and .

can also refer to the concept of programmatically retrieving an url (or part of a url) from a string a other resource.

143 questions
13
votes
6 answers

Get current URL from browser using python

I am running an HTTP server which serves a bitmap according to the dimensions in the browser URL i.e localhost://image_x120_y30.bmp. My server is running in infinite loop and I want to get the URL any time user requests for BITMAP, and at the end I…
StealthTrails
  • 2,281
  • 8
  • 43
  • 67
9
votes
3 answers

Magento getUrl not working with catalog/category object?

I've been able to instantiate a category object to retrieve its name, but when I use the getUrl method it isn't returning a URL to the category listing page, or anything at all
Kayla
  • 133
  • 1
  • 3
  • 9
9
votes
2 answers

How to set proxy only for a particular ansible task?

I want to set an environment proxy only for a particular ansible task like get_url module to download some application from internet. Other all tasks should run without any proxy. How do I achieve this task.
rolz
  • 591
  • 2
  • 11
  • 23
8
votes
0 answers

R getURL error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

I am trying to run these lines in R theurl <- paste("https://www.census.gov/population/international/data/idb/region.php?N=%20Results%20&T=10&A=separate&RT=0&Y=2016&R=-1&C=BR") tabs <- getURL(theurl, followlocation=TRUE) And after it, I receive…
user3882752
  • 263
  • 1
  • 4
  • 14
8
votes
1 answer

Speed up API calls in R

I am querying Freebase to get the genre information for some 10000 movies. After reading How to optimise scraping with getURL() in R, I tried to execute the requests in parallel. However, I failed - see below. Besides parallelization, I also read…
majom
  • 7,863
  • 7
  • 55
  • 88
7
votes
1 answer

Google Places photos getUrl() is breaking my javascript

I have the following javascript: function callback(results, status) { if (status == google.maps.places.PlacesServiceStatus.OK) { for (var i = 0; i < results.length; i++) { place = new Object ({ name: results[i].name, …
Rory
  • 220
  • 3
  • 10
5
votes
1 answer

How to use getUrl() in Magento to refer to another module?

My module in Magento adminpanel has URL like as http://example.com/index.php/mymodule/... and contains custom grid with the orders. I want to redirect user to the standard "Order view" page when he clicks on a grid row. public function…
silex
  • 4,312
  • 4
  • 22
  • 27
5
votes
1 answer

'RCurl' [R] package getURL webpage error when scraping API

I am trying to scrape data on pages from an API using the getURL function of the RCurl package in R. My problem is that I can't replicate the response that I get when I open the URL in Chrome when I make the request using R. Essentially, when I open…
Tom
  • 147
  • 1
  • 1
  • 7
4
votes
1 answer

Get active Tab URL in FireFox with C++

I'm trying to get a URL from Firefox using UI Automation, but it keeps failing. It worked fine in Chrome. but it doesn't work in Firefox. i think Search Or Enter Address is same 'Address and search bar' in Chrome #include #include…
morte00
  • 43
  • 3
4
votes
1 answer

Python get generated url to string

(Title might change not too sure what to call it) So I'm trying to open a URL that directs to a random page (This URL: http://anidb.net/perl-bin/animedb.pl?show=anime&do.random=1) and I want to return where that URL goes randomURL =…
user1043816
  • 139
  • 1
  • 4
  • 14
3
votes
1 answer

Magento, linking grid row links to other modules

I'm generating the row url in a grid via getUrl like this: return $this->getUrl('*/sales_order/view', array('order_id' => $row->getOrderId())); generates this…
ghostrifle
  • 1,029
  • 1
  • 14
  • 24
3
votes
1 answer

getURL in RCurl problem behind firewall R

I'm behind hospital firewalls and usually have to use setInternet2(T) for R to access the net properly. However running my code (that works perfectly at home) results in curlPerform(curl = curl, .opts = opts, .encoding = .encoding) : Could not…
Misha
  • 3,114
  • 8
  • 39
  • 60
3
votes
1 answer

Get document's URL/ID after a file was copied

I am trying to have the newly copied document to be updated upon completion of being copied, added to a different folder and its root file removed. The Google script is not able to find the newly copied file. The error is in the lower half of the…
3
votes
1 answer

R: change port to connect with SFTP server

I have a connection with an ftp server with the following code: url <- "ftp://MyServer" userpwd <- "MyUser:MyPass" filenames <- getURL(url, userpwd = userpwd, ftp.use.epsv = FALSE, dirlistonly = TRUE, port = 22) filen <- "MyFile.csv" …
Tingolfin
  • 825
  • 8
  • 28
3
votes
0 answers

dealing with raw vector from r getURLContent

I am using getURLContent(url, userpasswrd, httpauth=1L, binary=TRUE) to download a csv file from a server. The data I get after using this getURLContent () is a raw vector with contents "4d" "43" "4e" "2c" "45" "4e" I know the dataset should have…
1
2 3
9 10