Check if s3-url exists




I have the following url that exists:



```
https://s3-us-west-1.amazonaws.com/premiere-avails/458ca3ce-c51e-4f69-8950-7af3e44f0a3d\_\_chapter025.jpg

        

        
        
        
 (adsbygoogle = window.adsbygoogle || []).push({});
 
        

    
```

But this is not:



```
https://s3-us-west-1.amazonaws.com/premiere-avails/459ca3ce-c51e-4f69-8950-7af3e44f0a3d\_\_chapter025.jpg

        

        
        
        
 (adsbygoogle = window.adsbygoogle || []).push({});
 
        

    
```

Is there a way to check the URL to make sure it is valid without downloading the file (it might be a 1GB file)? Note that I don't want to use `boto`
  




 (adsbygoogle = window.adsbygoogle || []).push({});
 
  

to find out if a key exists, I would like to use a query `HTTP`
  




 (adsbygoogle = window.adsbygoogle || []).push({});
 
  

.
Try the following:



  




 (adsbygoogle = window.adsbygoogle || []).push({});
 
  


```
import httplib
from urlparse import urlparse

def url\_exists(url):
    _, host, path, _, _, _ = urlparse(url)
    conn = httplib.HTTPConnection(host)
    conn.request('HEAD', path)
    return conn.getresponse().status < 400

        

        
        
        
 (adsbygoogle = window.adsbygoogle || []).push({});
 
        

    
```
see the attached file: [extractnumberregex.xaml](/uploads/short-url/qbznpruo2eviur9srhj8qzzs7yn.xaml) (5.1 kb)

[image]

[image] missing ws in the end of the url.

wss://fstream.binance.com/ws <p>i think you have to participate in their new google offers program (their version of groupon), as that "view offer" button goes to an google offer page. &nbsp;read more about it here:</p>
<ul>
<li><a href="http://searchenginewatch.com/article/2079346/new-google-ads-expand-offers-arsenal">http://searchenginewatch.com/article/2079346/new-google-ads-expand-offers-arsenal</a></li>
<li><a href="http://www.searchmarketinggroup.com/blog/sem/ppc/google-adwords-testing-view-offer-button/">http://www.searchmarketinggroup.com/blog/sem/ppc/google-adwords-testing-view-offer-button/</a></li>
</ul> You have some minor problems to remove. This first batch is useless paid-search listings to make money for **HP**:



R1 - HKCU\Software\Microsoft\Internet Explorer\Main,Search Bar = [http://srch-qus9.hpwis.com/](/posts/bad_link/25407?url=http%3A%2F%2Fsrch-qus9.hpwis.com%2F)  

R1 - HKCU\Software\Microsoft\Internet Explorer\Main,Search Page = [http://srch-qus9.hpwis.com/](/posts/bad_link/25407?url=http%3A%2F%2Fsrch-qus9.hpwis.com%2F)  

R1 - HKCU\Software\Microsoft\Internet Explorer\Main,Default\_Page\_URL = [http://qus9.hpwis.com/](/posts/bad_link/25407?url=http%3A%2F%2Fqus9.hpwis.com%2F)  

R1 - HKCU\Software\Microsoft\Internet Explorer\Main,Default\_Search\_URL = [http://srch-qus9.hpwis.com/](/posts/bad_link/25407?url=http%3A%2F%2Fsrch-qus9.hpwis.com%2F)  

R0 - HKLM\Software\Microsoft\Internet Explorer\Main,Start Page = [http://qus9.hpwis.com/](/posts/bad_link/25407?url=http%3A%2F%2Fqus9.hpwis.com%2F)  

R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Search Bar = [http://srch-qus9.hpwis.com/](/posts/bad_link/25407?url=http%3A%2F%2Fsrch-qus9.hpwis.com%2F)  

R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Search Page = [http://srch-qus9.hpwis.com/](/posts/bad_link/25407?url=http%3A%2F%2Fsrch-qus9.hpwis.com%2F)  

R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Default\_Page\_URL = [http://qus9.hpwis.com/](/posts/bad_link/25407?url=http%3A%2F%2Fqus9.hpwis.com%2F)  

R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Default\_Search\_URL = [http://srch-qus9.hpwis.com/](/posts/bad_link/25407?url=http%3A%2F%2Fsrch-qus9.hpwis.com%2F)



This is a problem BHO:



O2 - BHO: (no name) - {FDD3B846-8D59-4ffb-8758-209B6AD74ACC} - (no file)



That's all I see for now. Are you running **DSL**? > 
> When I'm on a discussion, it shows up!
> 
> 
> 


The discussion still based on the old code.



> 
> Or do any of you guys still have it available?
> 
> 
> 


It is still possible to use:


![](http://pix.academ.info/img/2017/11/18/3d272cacfc99d5afdf92f0374cf5c406.png)


You just need to turn off the new code:


* Go to any page of the forum (this page is good).
* Write `duo.old_web_url_whitelist=["^.+"];` in the browser console and press "Enter".
* Go to home, then to the lingot store, and take the test.
* Enjoy! The download is an updated version. From the explore section you can see the resourcce which are linked with existing table(profile etc).

To see a resource which are not linked , you can select resource from the properties section of query activity

![1402857_pastedImage_0.png](/t5/image/serverpage/image-id/9513i93F570CE23A95886/image-size/large?v=v2&px=999 "1402857_pastedImage_0.png")




[View solution in original post](/t5/adobe-campaign-standard/query-with-custom-resources-in-acs/m-p/246365#M8688) then yes, this is version 1.3.0. 
could you download the latest version 1.4.0 (use the same download link)? it has some installer fixes. 
in case you still cannot install it, please send us the logs from c:\users\username\appdata\local\temp. something like this maybe?

[[image]](https://aws1.discourse-cdn.com/mcneel/uploads/default/original/4x/e/f/e/efe0da18d938bde689da206967c9f54d39a9c1b3.png "image") try a quick search on google with your key words.