Skip to main content
30 votes

Upload from Mathematica to YouTube

I built a service connection for this and blogged about it here: Playing with YouTube from Mathematica Here's an example of how this works. Connect to YouTube First install the paclet: ...
b3m2a1's user avatar
  • 48k
20 votes

Building a GitBook with Mathematica

tl;dr This is really quite easy with a toolkit I've been building; this is an example of a GitBook I built with these tools. Preface This answer is gonna build off some stuff I've been developing ...
b3m2a1's user avatar
  • 48k
16 votes
Accepted

Bing daily wallpaper

I would use RawJSON to import the information: ...
Carl Woll's user avatar
  • 133k
14 votes

How to implement a free version of WebImageSearch?

So after being wrong about Bing being free, we'll pursue my other suggestion, which was to use the ServiceConnect framework. I demonstrate how to use it in general here. For the purposes of this, ...
b3m2a1's user avatar
  • 48k
14 votes
Accepted

Get title of a webpage only?

As far as I am aware, HTTP doesn't support requesting the <title> element specifically. The browser can either GET the ...
eyorble's user avatar
  • 9,698
13 votes

Get title of a webpage only?

The HTTP protocol defines the Range header that can be used to limit the number of bytes returned in a response. Web sites are not required to support this header -- but if the target web site does ...
WReach's user avatar
  • 69.8k
13 votes
Accepted

A tour of AWSLink?

I haven't used these submarined functions for EC2, but I have found the S3 functionalities in this package to be extremely useful. Since there is currently no documentation in v11.3, I thought at the ...
M.R.'s user avatar
  • 31.9k
13 votes
Accepted

Import data from dynamically generated webpage

Since the page is generated asynchronously, you can use the same data source that the page itself does. Using the network inspector in my browser, I discovered that the page loaded its data from this ...
Carl Lange's user avatar
  • 13.3k
13 votes

How to work with ElasticSearch in Mathematica?

Create the new index test and put the data in it: ...
Alexey Golyshev's user avatar
13 votes

Easily download SE posts as notebooks?

Here is an approach, not battle tested, YMMV. It depends on the new body_markdown parameter in the SE API responses. From there we can use whatever MD->NB tool ...
b3m2a1's user avatar
  • 48k
12 votes
Accepted

Temporarily simulate being offline programmatically

You can set $AllowInternet to False (or just turn off your WiFi or unplug the cable).
Szabolcs's user avatar
  • 239k
11 votes

Get title of a webpage only?

Import["http://wolfram.com", "Title"] "Wolfram: Computation Meets Knowledge" ...
kglr's user avatar
  • 403k
11 votes
Accepted

Can I trust URLSubmit?

Bug confirmed: [...] The source of the issue unknown to us at this point; however, it seems that all the request are submitted, yet tasks finishes prematurely, before getting the status code. [...] ...
Kuba's user avatar
  • 139k
11 votes
Accepted

Mathematica equivalent of a curl snippet

You can use a program like Fiddler to compare the requests being generated by both: Your call to curl generates a request like this: ...
Gustavo Delfino's user avatar
10 votes

Web search browser in Mathematica

I started on this, after building out a search paclet for this answer. The basic idea is to simply provide nicer access to the basic underlying paclet. The code all lives here. We can use it like so:...
b3m2a1's user avatar
  • 48k
10 votes
Accepted

Can Mathematica run javascript on a website?

This is now possible in Mathematica 12. For example , you can open a new tab in web browser using following code: ...
Hossein Hadi's user avatar
10 votes

Can I trust URLSubmit?

This is indeed a racing condition due to TaskObject is created from AsynchronousTaskObject with default value to ...
Pavel Perikov's user avatar
10 votes

Opening Mathematica file in Google drive

If you have a public link, you can follow the answer to this question, and basically just import the data Import[url, "Data"] If you need to authenticate to get ...
rhermans's user avatar
  • 37.7k
10 votes
Accepted

How can I tally users on the Wolfram Challenges leaderboard?

After digging through here: https://challenges.wolfram.com/static/js/main.c80ec588.js I found the data: ...
b3m2a1's user avatar
  • 48k
10 votes

Find and load all ResourceFunctions as top level functions?

There is a helpful function named PersistResourceFunction that permanently stores a function. Here is what I did: ...
Peter Burbery's user avatar
10 votes
Accepted

web scraping images

If you write an HTML img tag like this: <img src="url/to/image.jpg"> then the image will be downloaded directly upon page load. Some frontend developers ...
C. E.'s user avatar
  • 71.7k
9 votes
Accepted

How to cache results of WebImageSearch?

So it looks like the only real way to do this is by hacking the mainframe package that underlies this. Everything seems to be clumsy and hard coded, so I had to dig a little. The following works for ...
b3m2a1's user avatar
  • 48k
9 votes

Opening Mathematica file in Google drive

There is now a Chrome app for opening Wolfram notebooks in Wolfram Cloud. Once you've installed the app, you can visit your Google Drive on the web and double-click to open a notebook file. You'll ...
John Fultz's user avatar
  • 12.8k
9 votes

How to show Plots or Graphics in mini MMA HTTP Server?

Very often SVG makes sense, it will scale well with magnification. This idea does not deserve a separate answer so additionally I rewrote the code in a more idiomatic style: ...
Kuba's user avatar
  • 139k
9 votes
Accepted

Using URLExecute to login to website

This is getting a bit too long for a comment. What you want to do is possible, in principle, but web servers can be picky about how the request should look. What we can do is to try to provide as much ...
C. E.'s user avatar
  • 71.7k
9 votes
Accepted

Make Mathematica input things on a website and take the data out

ConfigureNodeJSForExternalEvaluate ...
Kuba's user avatar
  • 139k
8 votes

How to do http post in Mathematica?

In version 14.0 the http POST syntax is as follows: ...
Conor Cosnett's user avatar
8 votes

Programmatic browser interaction: How to click on web-page and get new URL and list of links

Since Mathematica 11.3 there is an experimental implementation for WebDriver, a proposed W3C standard that currently supports Chrome and Firefox web browsers. It allows actions such as ...
rhermans's user avatar
  • 37.7k
8 votes
Accepted

webscraping: Wolfram notebook vs browser

You can actually start and control a web browser session from Mathematica using an experimental implementation for WebDriver, Since Mathematica 11.3. Look at this answer An example ...
rhermans's user avatar
  • 37.7k
8 votes
Accepted

How to show Plots or Graphics in mini MMA HTTP Server?

You can get it to respond with images by doing the following: ...
Carl Lange's user avatar
  • 13.3k

Only top scored, non community-wiki answers of a minimum length are eligible