Latest Questions tagged Url

Browse all latest questions tagged Url

Published 23 Aug, 2022
Python - python: check if url to jpg exists

In python, how would I check if a url ending in .jpg exists? ex: thanks

Published 27 Jun, 2022
Python - How can I prepend http to a url if it doesn't begin with http?

I have urls formatted as: I would like to convert all type of links to a uniform format, starting with http://

Published 09 Jul, 2022
Jquery - jQuery Youtube URL Validation with regex

I know there is plenty of question answered over here, but not able find a question similar to me. Any body has the JavaScript Regular express...

Published 02 Sep, 2022
Java - How to use Selenium WebDriver on local webpage (on my PC) instead of one located somewhere online?

I want to use Selenium WebDriver on a webpage that I have on my hard disc. I've tried to something like: selenium = new WebDriverBackedSelenium(driver, "C:\\...dispatcher.html"); ...instead of the...

Published 15 Apr, 2022
Javascript - Avoid URL parameter Manipulation

Anything on the client can potentially be intercepted and manipulated by someone interested enough. Encryption likely isn't enough if you're really worried about security because the user could examin...

Published 26 Apr, 2022
Python - How can I percent-encode URL parameters in Python?

If I do url = "" + urllib.quote(query) It doesn't encode / to %2F (breaks OAuth normalization) It doesn't handle Unicode (it throws an exception) Is there a better li...

Published 24 Apr, 2022
Python - Loading url with cyrillic symbols

I have to load some url with cyrillic symbols. My script should work with this: I...

Published 26 Apr, 2022
Python - Call to operating system to open url?

What can I use to call the OS to open a URL in whatever browser the user has as default? Not worried about cross-OS compatibility; if it works in linux thats enough for me!

Published 08 Sep, 2022
Java - java - ignore expired ssl certificate

URL myUrl = new URL("https://www....."); SSL Certificate of website is expired. How to avoid it and make URL() work ?

Published 16 Apr, 2022
Javascript - Get the values from the "GET" parameters (JavaScript)

I have a URL with some GET parameters as follows: I need to get the whole value of c. I tried to read the URL, but I got only m2. How do I do this...

Published 13 Apr, 2022
React - React router redirect whenever there is an uppercase in URL

I want to resolve whenever there is an uppercase in the URL it needs to redirect to the URL with lowercase. I'm facing some issues with the path part finding the right regex. The regex /:url2*([A-Z...

Published 24 Apr, 2022
Python - Rewrite a URL with Flask

Is it possible to rewrite a URL with Flask e.g. if a POST request is received via this route: @app.route('/', methods=['GET','POST']) def main(): if request.method == 'POST': #TODO: rewri...

Published 01 May, 2022
Python - Get subdomain from URL using Python

For example, the address is: Address = I want to save the subdomain into a variable so i could do like so; print SubAddr >> lol1

Published 16 Apr, 2022
Javascript - How to convert URL parameters to a JavaScript object?

I have a string like this: abc=foo&def=%5Basf%5D&xyz=5 How can I convert it into a JavaScript object like this? { abc: 'foo', def: '[asf]', xyz: 5 }

Published 14 Apr, 2022
React - How to detect change in the URL hash in Next.js?

How do we detect a change in the URL hash of a Next.js project? I don't want to reload my page every time the slug changes. I cannot use since all of my data comes from DB Example: When clicking on...