cuddly-goggles / bridge Goto Github PK
View Code? Open in Web Editor NEWThe easiest way to download videos from Youtube, Tumblr, Vine, Facebook, Instagram, Vimeo, Ted and few more sites with your iDevice.
The easiest way to download videos from Youtube, Tumblr, Vine, Facebook, Instagram, Vimeo, Ted and few more sites with your iDevice.
Hi Aboutsajjad,
For Python inside build, I got this error:
ld: framework not found Python
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have tried 'brew install python' and I got no luck.
Please let me know if I am missing something, thank you.
I downloaded serverside.zip yesterday, and ran the "pod install", then download Python-3.5-iOS-support and replace files in project directory. But I still get errors below:
ld: warning: ignoring file /Users/mac/Downloads/Bridge-withServerInside-2/Python.framework/Python, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (x86_64): /Users/mac/Downloads/Bridge-withServerInside-2/Python.framework/Python
Undefined symbols for architecture x86_64:
"_Py_SetPythonHome", referenced from:
___24-[ObjcFlask run_server:]_block_invoke in NSObject+ObjcFlask.o
"_PyObject_GetAttrString", referenced from:
___24-[ObjcFlask run_server:]_block_invoke in NSObject+ObjcFlask.o
"_PyImport_ImportModule", referenced from:
___24-[ObjcFlask run_server:]_block_invoke in NSObject+ObjcFlask.o
"_Py_DecodeLocale", referenced from:
___24-[ObjcFlask run_server:]_block_invoke in NSObject+ObjcFlask.o
"_PyObject_CallObject", referenced from:
___24-[ObjcFlask run_server:]_block_invoke in NSObject+ObjcFlask.o
"_Py_Initialize", referenced from:
___24-[ObjcFlask run_server:]_block_invoke in NSObject+ObjcFlask.o
"_PyMem_RawMalloc", referenced from:
___24-[ObjcFlask run_server:]_block_invoke in NSObject+ObjcFlask.o
"_PyEval_InitThreads", referenced from:
___24-[ObjcFlask run_server:]_block_invoke in NSObject+ObjcFlask.o
"_PyObject_CallMethod", referenced from:
___24-[ObjcFlask run_server:]_block_invoke in NSObject+ObjcFlask.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please help me here. thank you.
Hi, I am trying to update my app on the App Store, but I got this issue, Please help me.
I got the same problem as this link below after I upload to iTunes connect: daltoniam/SwiftHTTP#207
I got email from Apple team as below:
Dear developer,
We have discovered one or more issues with your recent delivery for "PQI iConnect". To process your delivery, the following issues must be corrected:
This bundle is invalid - The Info.plist file for /Payload/iConnect PLFS.app/Library/Python.framework is missing or could not be read.
Invalid Bundle - The bundle at '/Payload/iConnect PLFS.app/Library/Python.framework' does not contain a bundle executable.
Once these issues have been corrected, you can then redeliver the corrected binary.
Regards,
The App Store team
Hi Aboutsajjad,
Thank you for making this "Bridge" project, I find it very useful.
But I have tested some sites and it is not working proper.
I have tried to cache these down below
Soundcloud : https://soundcloud.com/nardeen-ibrahim/adele-when-we-were-young
****I got album's jpg file instead if mp3 file.
Youtube: https://www.youtube.com/watch?v=DDWKuo3gXMQ
****I got html ands wf files.
Facebook: https://www.facebook.com/100000024006299/videos/1614327285244723/
****I got pop up message "Nothing found!"
Vine: https://vine.co/v/5nPPVinznwl
****I got an vine home page png file
please let me know if I did not test it right.
Hi I have create my own project and transfer to objective c but I have getting this error below, am I missing something?
Tried these and still not working, Please help
solution 1.
NSAppTransportSecurity
NSAllowsArbitraryLoads
solution 2.
Checked my HTTP/1.1
HTTP/1.1 302 Moved Temporarily
Server: nginx/1.11.13
Date: Thu, 17 Aug 2017 09:46:25 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Keep-Alive: timeout=20
Location: https://www.test.com/
X-DIS-Request-ID: 5a24371f22fb184812dd5a1c7a9615c5
Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={NSUnderlyingError=0x608000646390 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, NSErrorFailingURLStringKey=http://127.0.0.1:9191/api/info?flatten=False&url=https%3A//m.youtube.com/watch?v%3DKWGrPNqz4uc, NSErrorFailingURLKey=http://127.0.0.1:9191/api/info?flatten=False&url=https%3A//m.youtube.com/watch?v%3DKWGrPNqz4uc, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=61, NSLocalizedDescription=Could not connect to the server.
I code below
//创建管理者对象
static NSString *baseUrl = @"http://127.0.0.1:9191";
AFHTTPSessionManager *mgr = [AFHTTPSessionManager manager];
//配置参数
NSString *str = [NSString stringWithFormat:@"%@/api/info", baseUrl];
NSMutableDictionary *params = [NSMutableDictionary dictionary];
params[@"url"] = urlString;
params[@"flatten"] = @"False";
//发送请求
[mgr GET:str parameters:params progress:^(NSProgress * _Nonnull downloadProgress) {
NSLog(@"%@",downloadProgress);
} success:^(NSURLSessionDataTask * _Nonnull task, id _Nullable responseObject) {
NSLog(@"%@",responseObject);
NSInteger statusCode = 0;
if ([task.response isKindOfClass:[NSHTTPURLResponse class]]) {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *)task.response;
statusCode = httpResponse.statusCode;
}
switch (statusCode) {
case 200:
completion(responseObject, true);
break;
case 400:
[GV showMsg:@"Error" andContent:@"400 Bad Request – invalid query parameters" andCancelTitle:@"OK"];
completion(nil, false);
break;
case 500:
[GV showMsg:@"Error" andContent:@"500 Internal Server Error – the extraction fails, Please check your URL" andCancelTitle:@"OK"];
completion(nil, false);
break;
default:
NSLog(@"Default");
completion(nil, false);
break;
}
} failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
NSLog(@"request failed");
[GV showMsg:@"Error" andContent:error.localizedDescription andCancelTitle:@"OK"];
completion(nil, false);
}];
ld: warning: ignoring file /Users/camden/Downloads/Bridge/Frameworks/libPython.a, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (arm64): /Users/camden/Downloads/Bridge/Frameworks/libPython.a
Undefined symbols for architecture arm64:
"_Py_DecodeLocale", referenced from:
___24-[youtubedl run_server:]_block_invoke in youtubedl.o
"_Py_Initialize", referenced from:
___24-[youtubedl run_server:]_block_invoke in youtubedl.o
"_PyEval_InitThreads", referenced from:
___24-[youtubedl run_server:]_block_invoke in youtubedl.o
"_PyMem_RawFree", referenced from:
___24-[youtubedl run_server:]_block_invoke in youtubedl.o
"_PyRun_SimpleFileExFlags", referenced from:
___24-[youtubedl run_server:]_block_invoke in youtubedl.o
"_Py_SetPythonHome", referenced from:
___24-[youtubedl run_server:]_block_invoke in youtubedl.o
"_Py_Finalize", referenced from:
___24-[youtubedl run_server:]_block_invoke in youtubedl.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Hi Aboutsajjad,
I tried to compile the server side build and I got this error :
No such modules 'FileExplorer'
I can not find 'FileExplorer' in the project.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.