Maverick1111
BANNED
- Jul 6, 2017
- 2,480
- 679
Check your inbox.
refined it a bit with @serije3 's helpBoomshakalak!
Python:import requests import time import csv input_list_file_name = 'vid.list' api_key = 'apikey' with open('vids.list','r') as vidslist: for i, link in enumerate(vidslist): rr=requests.post(f'https://netu.tv/api/file/remotedl?key={api_key}&url={link}') print(i+1,'videos posted') print(rr.text) for key in rr.json()['result']['id']: time.sleep(20) sr = requests.get(f'https://netu.tv/api/file/status_remotedl?key={api_key}&id={key}') url = sr.json()['result']['files'][key]['url'] filecode = sr.json()['result']['files'][key]['file_code'] time.sleep(2) er = requests.get(f'https://netu.tv/api/file/embed?key={api_key}&file_code={filecode}') title = er.json()['result']['files'][key]['name'] time.sleep(2) with open('embed.csv', 'a') as embed: writer = csv.writer(embed, delimiter=',') writer.writerow([link, title, url]) print(i+1, 'rows appended')
import requests
import time
import csv
input_list_file_name = 'vids.list'
api_key = 'api'
inpName = input()
with open('vids.list','r') as vidslist:
for i, link in enumerate(vidslist):
rr=requests.post(f'https://netu.tv/api/file/remotedl?key={api_key}&url={link}')
print(i+1,'videos posted')
print(rr.text)
for key in rr.json()['result']['id']:
sr = requests.get(f'https://netu.tv/api/file/status_remotedl?key={api_key}&id={key}')
filecode = sr.json()['result']['files'][key]['file_code']
time.sleep(2)
dr = requests.get(f'https://netu.tv/api/file/embed?key={api_key}&file_code={filecode}')
url = dr.json()['result'][filecode]['embed_code']
title = inpName + str(i)
time.sleep(2)
with open('embed.csv', 'a+') as embed:
writer = csv.writer(embed, delimiter=',')
writer.writerow([link, title, url])
print(1, 'rows appended')
Love APIs. Challenge Accepted!I don´t know about a "real-life" problem but this is something I´ve been wanting to write or hire someone to do.
Leverage the power of Python and the API key from Rytr to mass generate meta descriptions in bulk.
I recently worked on a site with over 400+ pages without meta descriptions and addressing this issue manually requires a hell lot of time. Not to mention, metas are not a ranking factor but they do impact CTR.
I contacted someone from here and Upwork to write this and both charged $300+ for this.
Is this something that interests you?
please check out the papal monkey generator bot in the jr vip sectionI need Paypal balance increaser bot
AWESOME!Love APIs. Challenge Accepted!
Will start with this first thing my morning
Sure, I can take a look. Not experienced with this so no promisesI've been banging my head against the wall trying to sort out using paramiko to SSH into a jump server and use Keyboard Interactive to accept user input (so the user can manually enter their 6-digit Google Authenticator TOTP).
Think you can help with this?
Just sent you URL's & details on Telegram.sure, will look forward to it.
I'm pretty sure you use "def" to define a function in python, not "fun"
I need this one too.can you make a bot for pornhub views?
Don't be like that man, i really need that bot hahahaimport urllib
While true
fun open():
return urllib.urlopen('http://example.com')
done infinte views