Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Questions tagged [internet]

This tag indicates that the challenge requires answers to use the Internet to retrieve information.

Filter by
Sorted by
Tagged with
19 votes
11 answers
3k views

Write a Web server quine

Write a program that accepts HTTP requests on any port of your choice above 1024, and responds to requests on any URL of your choice with its own source code. It must work with, at least, Firefox and ...
Someone's user avatar
  • 1,252
16 votes
18 answers
3k views

Get all URLs on an HTML webpage

This is a rewrite of the (currently closed) "Debunking Stroustrup's debunking of the myth "C++ is for large, complicated, programs only"" challenge. Challenge Write the shortest program or ...
2 votes
0 answers
324 views

Shorten this dns txt record request script as much as possible

I have made a short script that will pull dns txt records down from a server and combine them into a single string. DNS txt records are: 1.website.com ...
8 votes
7 answers
610 views

Fetch the answer from the Internet

So, normally, this is a forbidden loophole to fetch the desired output from an external source. But this challenge is an exception ! In this challenge you will have to fetch data from the internet and ...
12 votes
8 answers
1k views

What is the link to your answer?

Goal Your task is to create a program taking no input that returns the link to your answer. You can find a link to your answer by clicking at the share button on your answer. Rules Standard loopholes ...
13 votes
6 answers
1k views

Print Every Code Golf tag

Huge omega thanks to @wasif for emailing me this challenge idea in its basic form Everyone knows that questions on StackExchange require tags - labels that allow posts to be grouped together by ...
lyxal's user avatar
lyxal
  • 35.6k
-1 votes
11 answers
421 views

Check if a server is online or not for you? [closed]

Inspired from Is this site down or is it just me? Challenge You have to print if a website server is online or not, for you. Input The domain name, like ...
user avatar
user101036
12 votes
23 answers
3k views

Get the IP address of google.com [closed]

Challenge In this simple challenge, you have to print the public IP address of google.com. Rules You have to output either the IPv6 or IPv4 address, and do it by ...
user avatar
user101036
5 votes
2 answers
365 views

Create a Language of The Month answer scraper

When I was posting answers for the Husk Language of The Month thread, I realized it took more time to enter them in the thread than it took to actually write the answers. So, why not automate it? ...
12 votes
6 answers
615 views

Approx how many search results

When one performs a search query using Google, one of the first things you see is an approximation of how many results were found. Today, you'll be simulating this in as few bytes as possible. Input A ...
user avatar
user7467
7 votes
0 answers
269 views

Find the busiest hour for each stackexchange site [closed]

Input Name of a stackexchange site or any way to uniquely identify the site. Output The hour of the day that had the largest number of answers posted over the previous 24 hours. E.g. 14:00-15:00 GMT. ...
user avatar
user9207
19 votes
3 answers
2k views

All roads lead to Rome

"All roads lead to Rome" is a saying that essentially means there are plenty of different ways of achieving an objective. Task Your task is to write a program that finds a set of link connections ...
2 votes
0 answers
264 views

Jury-rigged Netcat from default Windows [closed]

Something unusual: a code golf question with a purpose. I occasionally find myself in scenarios resembling the following: Suppose you have two computers, A and B. Both of them have a fresh copy of ...
6 votes
4 answers
459 views

A Nice, Simple Web Scraping Code Golf

Introduction This is a web scraping Code Golf challenge that attempts to take stock Name and price columns from the 'Most Active' list on this New York Times URL. Why is this challenge interesting? ...
VBAmazing's user avatar
-3 votes
5 answers
358 views

Get the number of images on a webpage [closed]

Recreational languages win at code golf too much. This challenge is simple, when using higher level functions. The task is as follows: Given any valid url, which is guaranteed to result in a valid ...

15 30 50 per page
1
2 3 4 5
...
7

AltStyle によって変換されたページ (->オリジナル) /