Skip to main content

Questions tagged [url]

A Uniform Resource Locator (URL) is a Uniform Resource Identifier (URI) that specifies where an identified resource is available and the mechanism for retrieving it.

0 votes
0 answers
50 views

WebServer HTTP parsing The URL

URL class. Providing a way to look at the different parts of a URL: ...
Loki Astari's user avatar
  • 97.7k
4 votes
1 answer
646 views

Opening URL in the Windows default Browser using C

I wrote this code for opening URLs using C. Is using enum for function result a good practice? I also thought about sanitizing the URL, but it didn't seem easy and is. Probably, not a part of this ...
yurich's user avatar
  • 157
3 votes
2 answers
237 views

the helper fuctions for a url shortener

Currently I am still considering of using the get_password instead of the token_urlsafe but not sure yet. The shortener will be ...
K Y's user avatar
  • 175
3 votes
1 answer
206 views

Detect the social network of a given URL

I am making a class in PHP that detects the social network or instant messaging platform of a given URL: ...
Dimitrios Desyllas's user avatar
4 votes
1 answer
127 views

Java classes for downloading all in-coming/out-going links of an article in the Wikipedia article graph

(The entire project is in GitHub.) Introduction This project provides facilities for generating in-coming or out-going links in a given Wikipedia page. Code ...
coderodde's user avatar
  • 32k
1 vote
1 answer
116 views

State machine for parsing GitHub URL formats

A while ago, I wrote a small Rust crate for parsing & generating URLs for GitHub repositories in various formats (HTTPS, SSH, git://, etc.), with the parsing done using regular expressions with ...
jwodder's user avatar
  • 402
7 votes
1 answer
188 views

Download artifacts using HTTP

The public code is SaveAsFile(). It takes a URL, checksum and authentication info, and downloads the artifact and its hash using HTTP. It saves the content as a ...
Alberto's user avatar
  • 173
2 votes
0 answers
216 views

Parallelized Web Crawler

Exercise is here: https://go.dev/tour/concurrency/10 Prompt: In this exercise you'll use Go's concurrency features to parallelize a web crawler. Modify the Crawl function to fetch URLs in parallel ...
CageFury's user avatar
-4 votes
1 answer
141 views

Test all links in a website

This program tests all links (URLs) in all pages of a website. Testing a link (URL) means that the link (URL) is downloaded. If the download is successful then a success message is printed for that ...
user avatar
2 votes
0 answers
631 views

Convert PathBuf to file URL in Rust

I've implemented a custom trait on std::path::Path (and by extension std::path::PathBuf) with a method which turns the struct ...
Jared Smith's user avatar
1 vote
1 answer
3k views

Regex detect URL without http(s):// and www

I want to locate urls without protocols in the text, and then add the protocol before them. This means I don't want urls that begin with http(s):// or ...
tnthpp66's user avatar
2 votes
0 answers
706 views

Generate breadcrumbs from URL in Django

For Django sites with URLs structured in a hierarchical way I found it helpful to have an app to quickly transform an URL like ...
marcanuy's user avatar
  • 305
3 votes
2 answers
7k views

Function for checking if a string is a path or an URL be improved

I made myself a function to check if a string is a path or an URL: ...
TheEagle's user avatar
  • 133
6 votes
1 answer
112 views

How can this async url response checker be cleaner/faster?

...
humid's user avatar
  • 101
4 votes
1 answer
1k views

URL parser in C

Title should be self-explenatory. This is a simple URL parser I wrote in C. The function takes a URL from the user and produces a struct that contains the information that can be used to request the ...
mateass's user avatar
  • 41

15 30 50 per page
1
2 3 4 5
16