Giter Club home page Giter Club logo

sj_jav's Introduction

sj_jav

JAV Censored 전용 Plex Agent

사용법

일본 dmm 사이트에서 메타정보를 가져오는데, 이 사이트가 국내에서 접속은 차단되어 있다. 해외 호스팅업체 sj_jav_server.php 파일을 올리고 Agent 설정에서 서버 URL을 입력한다.

번역

sj_jav_server.php 에서는 구글 번역 API를 사용하는 코드로 되어 있다. function trans($str) 에서 return $str;을 삭제하고 구글 API KEY부분에 구글 KEY를 입력해주면 된다.

function trans($str) {
	return $str;
	$handle = curl_init();
	if (FALSE === $handle) {
		return $str;
	}
	curl_setopt($handle, CURLOPT_URL,'https://www.googleapis.com/language/translate/v2');
	curl_setopt($handle, CURLOPT_RETURNTRANSFER, 1);
	curl_setopt($handle, CURLOPT_SSL_VERIFYPEER, false);
	curl_setopt($handle, CURLOPT_POSTFIELDS, array('key'=> '구글API KEY', 'q' => $str, 'source' => 'ja', 'target' => 'ko'));

Avgle에서는 에이전트에서 파파고 API를 사용하여 번역한다.구글번역을 이용하지 않으려면 참고하여 Agent에서 번역하는 방식으로 코딩하면 된다. 링크

sj_jav's People

Contributors

soju6jan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.