Skip to content

Instantly share code, notes, and snippets.

View firecentaur's full-sized avatar
🏠
Working from home

Paul Preibisch firecentaur

🏠
Working from home
View GitHub Profile
{
"success": true,
"message": "Successfully retrieved tags",
"data": {
"tags": [
{
"label": "Accents",
"videoCount": "1"
},
{
{
"success": true,
"message": "Successfully retrieved tags",
"data": {
"tags": [
{
"label": "Adobe",
"videoCount": "2"
},
{
{
"success": true,
"message": "Successfully retrieved tags",
"data": {
"tags": [
{
"label": "Accents",
"videoCount": "1"
},
{
{
"success": true,
"message": "Successfully retrieved tags",
"data": {
"tags": [
{
"label": "Accents",
"videoCount": "266"
},
{
{
"success": true,
"message": "Successfully retrieved Videos",
"data": {
"videos": [
{
"id": "8979",
"vidurl": "https:\/\/www.youtube.com\/watch?v=QyAHAvx0M24",
"provider": "YouTube",
"name": "Ryan Reynolds' XXX Selfie - CONAN on TBS",
{
"success": true,
"message": "Successfully retrieved Videos",
"data": {
"videos": [
{
"id": "8979",
"vidurl": "https:\/\/www.youtube.com\/watch?v=QyAHAvx0M24",
"provider": "YouTube",
"name": "Ryan Reynolds' XXX Selfie - CONAN on TBS",
This file has been truncated, but you can view the full file.
{
"success": true,
"message": "Successfully retrieved Videos",
"data": {
"videos": [
{
"id": "8979",
"vidurl": "https:\/\/www.youtube.com\/watch?v=QyAHAvx0M24",
"provider": "YouTube",
"name": "Ryan Reynolds' XXX Selfie - CONAN on TBS",
# BEGIN WordPress
# The directives (lines) between `BEGIN WordPress` and `END WordPress` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
#next two lines were added for JWT wordpress plugin - added by Paul Mar 13 2020
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
#
@firecentaur
firecentaur / scratch_74.json
Created March 16, 2020 01:42
with tag ids
{
"success": true,
"message": "Successfully retrieved Subtitles",
"data": {
"video": {
"id": "9169",
"vidurl": "https:\/\/www.youtube.com\/watch?v=7bD9pBExomY",
"vidid": "7bD9pBExomY",
"provider": "YouTube",
"name": "10 Questions with Natalie Portman (TIME) - interview",
public function getTextInspectorSession(){
$username = App()->params['textinspectorUserName'];
$password = App()->params['textinspectorPassword'];
$usernameAndPassword = urlencode("$username:$password");
$url ="https://$usernameAndPassword@textinspector.com/api/v2/createsession";
$result = FireHelper::executeCurlGet($url);
$sessionId = $result['sessionid'];
return $sessionId;
}
public function actionAnalyseText()