leeleelee3264 / netflix-twitterbot Goto Github PK
View Code? Open in Web Editor NEWrepo for twitter project with python
repo for twitter project with python
기존에는 다음에서 제공하는 페이지를 직접 스크롤을 해왔다.
하지만 공개되는 콘텐츠가 영화로 한정되어있어 많은 정보를 가져올 수 없었다.
알고보니 넷플릭스에서 자체적으로 사용하는 상영예정 페이지가 있었고, 특정 인증 없이 json으로 가져올 수 있어, 변경한다.
이점
대상 페이지: https://about.netflix.com/ko/new-to-watch
대상 json: https://about.netflix.com/api/data/releases?language=ko&country=KR
이미 폐막을 한 뮤지컬들이 함께 나오고 있다
단순 랭킹을 보여주기 때문인 것 같음.
오늘 날짜를 받아와서 폐막날이 오늘보다 이전인 것들은 제외하는 코드를 추가해야 한다.
오늘의 뮤지컬 스케줄 봇의 twitter api key가 그대로 노출되어있었다.
얼마전에 해당 봇이 해킹을 당한 이유도 계정이 유출된 것이 아닌 api key이 노출되어있어서 해킹을 당한 것이라고 판단된다..
해킹이슈
git 에 접근하는 basic access token 방식이 deprecated 가 되어서 크롤링으로 다 읽어와도 쌓여진 이미지가 커밋이 안된다.
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.