Comments (9)
@jsergio123 it is failing as SMR is using a defunct UA. Using any other UA works.
curl -I http://185.176.192.20/vids/<-edited->___5a3de7817874b.mp4 -e http://entervideo.net/ -A "Mozilla/5.0 (Windows NT 6.3; Win64; IA64; Trident/7.0; rv:11.0) like Gecko"
HTTP/1.1 403 Forbidden
Server: nginx/1.10.3
Date: Mon, 20 Aug 2018 00:08:30 GMT
Content-Type: text/html
Content-Length: 169
Connection: keep-alive
curl -I http://185.176.192.20/vids/<-edited->___5a3de7817874b.mp4 -e http://entervideo.net/ -A iPad
HTTP/1.1 200 OK
Server: nginx/1.10.3
Date: Mon, 20 Aug 2018 00:03:31 GMT
Content-Type: video/mp4
Content-Length: 633247129
Last-Modified: Sat, 23 Dec 2017 05:29:11 GMT
Connection: keep-alive
ETag: "5a3de9a7-25be9599"
Expires: Wed, 28 Nov 2018 00:03:31 GMT
Cache-Control: max-age=8640000
Access-Control-Allow-Headers: *
Access-Control-Expose-Headers: Server,range,Content-Length,Content-Range
Access-Control-Allow-Methods: GET, HEAD, OPTIONS
Access-Control-Allow-Origin: *
Accept-Ranges: bytes
from script.module.resolveurl.
@Gujal00 entervideo uses the generic resolver which uses a random user agent. I have removed the IE user agent and substituted it for the EDGE user agent. Let me know if this fixes the issues. Thanks for debugging it.
917c4ea
dbd9419
from script.module.resolveurl.
You guys are awesome, thanks so much for all you do
from script.module.resolveurl.
@jsergio123
I think the issue is still there as I see this in the final request
User-Agent=Mozilla/5.0 (Windows NT 6.3; Win64; IA64; Trident/7.0; rv:11.0) like Gecko
The issue is IA64 architecture for Windows doesn't exist, so I presume that UA is rejected
Edge UA is as below
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134
I did a quick check on where it could be coming from and I see it defined here
lib/resolveurl/lib/net.py:FEATURES = ['; WOW64', '; Win64; IA64', '; Win64; x64', '']
from script.module.resolveurl.
@Gujal00 oops you're right, missed that lol. I'll update them tomorrow. I might just dump the whole get_ua code and just have it return one random ua from the common.py. What do you think?
from script.module.resolveurl.
@jsergio123 Yeah, I think it is better to have some 10 latest UAs from a few different platforms in common.py and be done with it
from script.module.resolveurl.
@Gujal00 here try this please 7df9e61
from script.module.resolveurl.
Yes, entervideo works now with the new common.py. Thanks
from script.module.resolveurl.
Great thanks for everything
from script.module.resolveurl.
Related Issues (20)
- fembed not work HOT 3
- Resolver request HOT 2
- HTTP Live stream error HOT 2
- Supervideo not work HOT 1
- i need fix pandafiles HOT 7
- Please can add new host ilgeniodellostreaming HOT 2
- New host request HOT 1
- help me decode a script HOT 2
- uptobox HOT 6
- uptobox does not release the movie HOT 2
- "Voe" works on some Websites but not on anicloud.io HOT 1
- Streamingcommunity not working HOT 1
- fastdrive.io don't work HOT 1
- Streamsb stop working HOT 11
- streamlare not working HOT 5
- sbplay2 problem HOT 3
- [Need help] Cannot resolve sbplay2 HOT 11
- New host : Anonfiles HOT 1
- streamzz info stream, instead of the media stream HOT 1
- After last update addons seem to not work, uptobox asks for a pin too. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from script.module.resolveurl.