728x90
반응형
- 2015-12-11 : Test it 추가해야 할듯.
data-reactid
를 이용하는듯? Console 엔 이게 처리된 html 이 안보이고, jQuery 로 element 를 찾으니까 아래와 같이 뜸.
```[.lang-html]
<div class="p68" data-reactid=".7.1.0.0.$https=2//igcdn-photos-e-a=1akamaihd=1net/hphotos-ak-xfp1/t51=12885-15/sh0=108/e35/p640x640/12353933_899152200204140_465974688_n=1jpg.0:0.2">
<img src="https://igcdn-photos-e-a.akamaihd.net/hphotos-ak-xfp1/t51.2885-15/sh0.08/e35/p640x640/12353933_899152200204140_465974688_n.jpg">
</div>
```/
즉 아래와 같이 image source 를 처리. 오 이거 hash function 까지 잘 짬뽕시키면 자동화 parsing 까지 막을수도 있네???
```[.lang-python]
.7.1.0.0.$https=2//igcdn-photos-e-a=1akamaihd=1net/hphotos-ak-xfp1/t51=12885-15/sh0=108/e35/p640x640/12353933_899152200204140_465974688_n=1jpg.0:0.2
https://igcdn-photos-e-a.akamaihd.net/hphotos-ak-xfp1/t51.2885-15/sh0.08/e35/p640x640/12353933_899152200204140_465974688_n.jpg
```/
hash function 이 javascript 단에도 있어야 해서 해킹이 되긴 하는데..... 어찌 보안수준을 높이지??? 매번 salt 를 다르게 주고, server 단에서 hash 한 값을 user related data 에 저장해놓고, 이 사용자가 hash 해서 요청 보낸건지, session passed check 하고 이 사용자의 hash 값인지 인지하는 식으로?
아무튼 로그인 한 사람만 사진을 볼 수 있도록은 만들 수 있을듯? 이런식이면 Crawler 인지 아닌지도 판단할 수 있겠네? 엄청난 트레픽을 유발하는 유저라면 이런 image 를 안쏴주거나, false 정보를 줘서 엿먹이는 방법도 있을듯. 좋군ㅋ
## 유튜브 (Youtube)
이건 따로 포스팅 할 필요가 없을듯도... 너무 잘 되어 있어서.
하나 주의할건 youtube URI 는 형태가 여러개라는 점 정도? (정리하긴 해야겠네.)
## 다음 + 카카오
### 다음 TV pot
팟 플레이어에서 Ch. M COUNTDOWN (빙고TV_101) 의 공유하기 버튼을 누르면 다음과 같은 링크들을 줌.
```[.linenums.scrollable]
// 이건 Active X 이용해서 팟 플레이어를 여는거 같음. 그래서 IE 에서만 열 수 있는듯?
"https://tvpot.daum.net/vingotv064.man.live"
// 브라우저로는 live stream 을 송출 안해주는 채널이 많은듯도? 이건 팟 플레이어로 가서 보라고 뜸.
"https://live.tvpot.daum.net/vingotv064.man.popup"
// 아래는 다른 채널 (채널W 일본 예능 스페셜). 이건 뜸.
"https://live.tvpot.daum.net/everyon006.man.popup"
// 요걸 iframe 으로 불러들이면 되는듯.
// HTML object 도 주던데... 이건 안뜨는데?
<object name="PotWeb" width="640" height="480" id="PotWeb" classid="clsid:571CB303-4267-4D92-B45C-9B79ACC18632" codebase="https://get.daum.net/PotPlayer/v2/PotWeb.cab#version=1,2,1,0"><param name="PotSetting" value="vwmode=2"><param name="InstallURL" value="MIIG6QYJKoZIhvcNAQcCoIIG2jCCBtYCAQExDzANBgkqhkiG9w0BAQUFADBCBgkqhkiG9w0BBwGgNQQzaHR0cDovL2dldC5kYXVtLm5ldC9Qb3RQbGF5ZXIvdjIvUG90UGxheWVyU2V0dXAuZXhloIIFADCCBPwwggPkoAMCAQICEFTvj6l54tZEWQqx/Pqmc74wDQYJKoZIhvcNAQEFBQAwgbYxCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDkxMDAuBgNVBAMTJ1ZlcmlTaWduIENsYXNzIDMgQ29kZSBTaWduaW5nIDIwMDktMiBDQTAeFw0wOTA5MDgwMDAwMDBaFw0xMDA5MDgyMzU5NTlaMIG5MQswCQYDVQQGEwJLUjEOMAwGA1UECBMFU2VvdWwxEjAQBgNVBAcTCVNlb2Noby1ndTEiMCAGA1UEChQZRGF1bSBDb21tdW5pY2F0aW9ucyBDb3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UpQqcFZVMIqtBWU9mBumv8aSnpQlAl05u5bx82uA3MNDKyWtKgbSBHCyA+GbHWBwX0cVqfuF2iBPrPbGg4zyJo6/viiLmB+mAhnOc94dhpGgbioTp2sHFUygz5wNdBJ8wi9VIo1QRXQM4JUJ6/RkaR+NY1bKlLR0e7VCYybmwaJIh3qhxMYIBdjCCAXICAQEwgcswgbYxCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDkxMDAuBgNVBAMTJ1ZlcmlTaWduIENsYXNzIDMgQ29kZSBTaWduaW5nIDIwMDktMiBDQQIQVO+PqXni1kRZCrH8+qZzvjANBgkqhkiG9w0BAQUFADANBgkqhkiG9w0BAQEFAASBgDTondtSzWdn3XkAghYpehSEdVHeL8Khyn06XibYXFEund2EMr9/K7oXMZme32sQsdo6CfKM+xRyjuUMtIbtL5Ho0CN40Y+WlMCULPswcLp7HDC6CUjtNYlEy85qVI9gXfHTLJzFFFDO8mn1z22JWwsVBRfiQPupKoxUsQ67eG87"><param name="InstallName" value="팟플레이어 V1.5 베타 설치"><param name="DownloadURL" value="MIIG4wYJKoZIhvcNAQcCoIIG1DCCBtACAQExDzANBgkqhkiG9w0BAQUFADA8BgkqhkiG9w0BBwGgLwQtaHR0cDovL2dldC5kYXVtLm5ldC9Qb3RQbGF5ZXIvdjIvRmlsZUxpc3QudHh0oIIFADCCBPwwggPkoAMCAQICEFTvj6l54tZEWQqx/Pqmc74wDQYJKoZIhvcNAQEFBQAwgbYxCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMgb2YgdXNlIGF0IGh0dHBz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E/lB8ILcQ1m6ShHvIwEQYJYIZIAYb4QgEBBAQDAgQQMBYGCisGAQQBgjcCARsECDAGAQEAAQH/MA0GCSqGSIb3DQEBBQUAA4IBAQA3ToTROvG+czIPBHxJ1+ufSgsIMg8S45w49vaVLRIZWGqG7tVKuPYVUDGa1TqKE2g0LBswKh1+Xd9YapLXfCgh3a/AGniAWGv2O/wa+2+KA3Chhh7FVhC0ovFnw6Blp75uXjSnubVgPdN4MNHQPA6if5YKbd41SsSnX3lUpQqcFZVMIqtBWU9mBumv8aSnpQlAl05u5bx82uA3MNDKyWtKgbSBHCyA+GbHWBwX0cVqfuF2iBPrPbGg4zyJo6/viiLmB+mAhnOc94dhpGgbioTp2sHFUygz5wNdBJ8wi9VIo1QRXQM4JUJ6/RkaR+NY1bKlLR0e7VCYybmwaJIh3qhxMYIBdjCCAXICAQEwgcswgbYxCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDkxMDAuBgNVBAMTJ1ZlcmlTaWduIENsYXNzIDMgQ29kZSBTaWduaW5nIDIwMDktMiBDQQIQVO+PqXni1kRZCrH8+qZzvjANBgkqhkiG9w0BAQUFADANBgkqhkiG9w0BAQEFAASBgH56xOurRkVq2SsCRsBHpm6lSZv+5B3lsGaiPsOBCAxaVbGTxlIMtLiPkjuP69bU/DI+10VU6hEYWIR1Yx1r9yaNM6Zvb0dz7M636WusbiyQc5KXu3YbTwFnx+i03BOulLNZVVvPeowhEGcQ1xeKAa6E9sZb9ZIRdMFmKqyzGBP9"><param name="ShowUI" value="1"><param name="PlayURL" value="liveinfo://Info.do?pd_daumid=vingotv064.man"><param name="UIOption" value="0"><param name="EndURL" value="https://cfs.see.daum.net/flash/potplayer/Notice.swf?livetype=F&pddaumid="><param name="BlockURL" value="https://cfs.see.daum.net/flash/potplayer/Notice.swf?livetype=B&pddaumid="></object>
```/
iframe :: (자동재생은 못 막나?)
vid
가 달라서 이 URI 로 바로 iframe 동영상 못퍼오게 디자인 되었네;;; 네이버 따라가네 ㅡ..ㅡ;;;;;
```[.lang-html]
<iframe src="https://vfarm.tv.kakao.com/controller/video/viewer/Video.html?play_loc=kakaotv&autoplay=false&wmode=opaque&vid=v7979r4W4CgMME4WCMLLr3b" frameborder="0"></iframe>
```/
isAutoPlay=true
로 되어 있어서 자동재생이 됨. 이걸 없애거나 false 로 만들어서 자동재생을 막읍시다.
그런데 네이버 동영상은 browser width 바꾸면 responsible 하게 바뀌지 않음;;; 그지같군ㅋ.
- Refer 할게 있나?
728x90
반응형
'[Recoeve.net]' 카테고리의 다른 글
Exception: java.sql.SQLException: java.time.LocalDateTime to SQL type (0) | 2023.05.30 |
---|---|
음식점 할인정보 정리 (App Surprise) (0) | 2022.12.30 |
Programmer/Developer's Portfolio (개발자/프로그래머의 포트폴리오) (2) | 2022.12.28 |
iframe test of Recoeve.net (0) | 2022.12.28 |
Recoeve.net as a playlist of YouTubes and videos (0) | 2019.04.01 |
Recoeve.net 설명서 (Guide to Recoeve.net) (0) | 2019.03.06 |
Site statistics (MAU, DAU) (0) | 2019.03.04 |