Có cách nào để link picasa live lâu

cũng vài h dẹo nhưng code mình có auto update mình set 5h nó auto reload 1 lần tất cả các link cậu .
google photo cũng giống bên picasaweb hả cậu ?
uh, mình set 8 tiếng refresh 1 lần, thằng google photo chỉ cần lấy direct link 1 lần , các lần sau từ link đấy nó sẽ tạo link direct khác
 
uh, mình set 8 tiếng refresh 1 lần, thằng google photo chỉ cần lấy direct link 1 lần , các lần sau từ link đấy nó sẽ tạo link direct khác

Mình rất muốn link như vậy ; https://lh3.googleusercontent.com/7DRaQAS9Yp..... Nhưng thèn picasa nó ko gen ra link như vậy nữa. Toàn https://redirector.googlevideo.com/videoplayback? . Mình bỏ link vào app. Refesh bằng tay hoài chán quá! Bạn có code nào gen ra link https://lh3.googleusercontent.com ko?
 
Mình rất muốn link như vậy ; https://lh3.googleusercontent.com/7DRaQAS9Yp..... Nhưng thèn picasa nó ko gen ra link như vậy nữa. Toàn https://redirector.googlevideo.com/videoplayback? . Mình bỏ link vào app. Refesh bằng tay hoài chán quá! Bạn có code nào gen ra link https://lh3.googleusercontent.com ko?
Link đây là của tthằng google photos nó gen ra, mình chưa có code =php, nhưng code này phải bắt login google
 
bạn view page source của thằng photo ra, kéo đến cuối sẽ thấy 1 đoạn code ntn:

,{"79468658":[[[7165.858,"18/640x312,36/320x156","url\u003dhttps%3A%2F%2Flh3.googleusercontent.com%2FA4bIm7TrcOR8urIDa4sf63iVuwtH4icukOY9-Mf-0uI%3Dm18\u0026itag\u003d18\u0026type\u003dvideo%2Fmp4%3B+codecs%3D%22avc1.42001E%2C+mp4a.40.2%22\u0026quality\u003dmedium,url\u003dhttps%3A%2F%2Flh3.googleusercontent.com%2FÃbIm7TrcOR8urIDa4sf63iVuwtH4icukOY9-Mf-0uI%3Dm36\u0026itag\u003d36\u0026type\u003dvideo%2F3gpp%3B+codecs%3D%22mp4v.20.3%2C+mp4a.40.2%22\u0026quality\u003dsmall"]
thì đó là direct link
 
bạn view page source của thằng photo ra, kéo đến cuối sẽ thấy 1 đoạn code ntn:

,{"79468658":[[[7165.858,"18/640x312,36/320x156","url\u003dhttps%3A%2F%2Flh3.googleusercontent.com%2FA4bIm7TrcOR8urIDa4sf63iVuwtH4icukOY9-Mf-0uI%3Dm18\u0026itag\u003d18\u0026type\u003dvideo%2Fmp4%3B+codecs%3D%22avc1.42001E%2C+mp4a.40.2%22\u0026quality\u003dmedium,url\u003dhttps%3A%2F%2Flh3.googleusercontent.com%2FÃbIm7TrcOR8urIDa4sf63iVuwtH4icukOY9-Mf-0uI%3Dm36\u0026itag\u003d36\u0026type\u003dvideo%2F3gpp%3B+codecs%3D%22mp4v.20.3%2C+mp4a.40.2%22\u0026quality\u003dsmall"]
thì đó là direct link

https%3A%2F%2Flh3.googleusercontent.com%2Fub9l0YmyBE7U6Q52gO3ucymDaWfGVy_yxDZCE2C5vFc%3Dm18 => làm sao chuyển nó direct được vậy bạn?
 

sandaru

Hero
Verified
Joined
Aug 23, 2011
Messages
1,164
Reactions
1,354
MR
0.033
Chat with me via Yahoo Messenger
https%3A%2F%2Flh3.googleusercontent.com%2Fub9l0YmyBE7U6Q52gO3ucymDaWfGVy_yxDZCE2C5vFc%3Dm18 => làm sao chuyển nó direct được vậy bạn?

PHP dùng hàm get_headers(url,1). Link sẽ là $link = $header['Location'];
Đôi khi get_headers nó sẽ get ra 2 Location, lúc đó sẽ dùng $link = $header['Location'][0]; trường hợp này gặp chỉ khi video vừa dc Google convert xong và publish và mình get link liền.
 

trung0210111

Newbie
Joined
Mar 1, 2011
Messages
25
Reactions
5
MR
0.000
code mình đang chạy ra link dạng này
Code:
https://redirector.googlevideo.com/videoplayback?requiressl=yes&id=1af53af8da3e602d&itag=22&source=picasa&cmo=secure_transport=yes&ip=0.0.0.0&ipbits=0&expire=1438528271&sparams=requiressl,id,itag,source,ip,ipbits,expire&signature=727632EC811775031A8B4D8CAA803578DD85D50.A3020E572A0691AD8D32CFDC49FEAF67853E0E6A&key=lh1
thêm &format=getlink/.mp4 vào sau là jwplayer chạy được bình thường.
 
code mình đang chạy ra link dạng này
Code:
https://redirector.googlevideo.com/videoplayback?requiressl=yes&id=1af53af8da3e602d&itag=22&source=picasa&cmo=secure_transport=yes&ip=0.0.0.0&ipbits=0&expire=1438528271&sparams=requiressl,id,itag,source,ip,ipbits,expire&signature=727632EC811775031A8B4D8CAA803578DD85D50.A3020E572A0691AD8D32CFDC49FEAF67853E0E6A&key=lh1
thêm &format=getlink/.mp4 vào sau là jwplayer chạy được bình thường.
Nhưng 8 tiêng link die mất bạn . :(
 

Announcements

Today's birthdays

Forum statistics

Threads
423,964
Messages
7,135,593
Members
176,441
Latest member
lamviec2024y

Most viewed of week

Most discussed of week

Most viewed of week

Most discussed of week

Back
Top Bottom