Streamtape.com | new Partner Program rates | reliable and profitable | 1080p | API | Subtitles | anti-adblock | fast support

Streamtape

Active Member
Corporate Membership
1,360
2020
1,211
16,500
Hello Wjunction community,

today we want to introduce to you streamtape.com . More information in the graphic below.



You can register here: https://streamtape.com/createaccount


Our Partner Program you can find here: https://streamtape.com/partnerprogram

If you have any questions you can use the contact form here:


https://streamtape.com/support

E-Mail: support@streamtape.com

Example Video: https://streamtape.com/v/dvkYGPQvYWuQzZ/Example_Video

Additional information:

ZOOM Uploader is supported

themaCreator is supported

Min. payout 10$

Payout options:
PayPal | WebMoney | Perfect Money | AdvCash | Payeer | Bitcoin | Bitcoin Cash

We don't sell premium account or any premium player without ads!
 
Last edited:
4,355 comments
dear @darkestblue and @Streamtape

after i Print out the results,
is there anyway I can like make list for it to scan?

or point me in the right direction on what part of the python script I should read to implement this,
learning python from scratch would be pointless.

I have around 5k movies on Streamtape,
and I would like to use the above script to return the results of them on which of them is dead?

do I make a list on .csv file and use python to check each file id?
and how do I do that what script codes should I read to do that?

Thanks

this creates a csv file with all needed data, filter it in excel by your needs
change the variables login,key ,out_file


Python:
import requests
import csv
def get_file_ids(folder_id = None):
    if folder_id == None:
        link_file_list = 'https://api.streamtape.com/file/listfolder?login={login}&key={key}'.format(  login=login, key=key)
    else:
        link_file_list = 'https://api.streamtape.com/file/listfolder?login={login}&key={key}&folder={folder}'.format(  login=login, key=key,folder = folder_id)
    response = requests.get(link_file_list).json()
    file_ids = []
    for file_data in response['result']['files']:
        #ignore files like thumbs or subtitles
        if file_data['convert'] != 'no-need':
            file_ids.append( file_data['linkid'])
    for folder_data in response['result']['folders']:
        file_ids =  file_ids + get_file_ids(folder_data['id'])
    return file_ids

login = 'login'
key = 'key'
out_file = 'C:\\Users\\Admin\\Desktop\\temp\\streamtape_out.csv'
#scan recursiv all folder
file_ids = get_file_ids()
#split in multple lists with count 100
file_ids_chunks_list = [file_ids[x:x+100] for x in range(0, len(file_ids), 100)]
data_file = open(out_file, 'w', newline='', encoding='utf-8')
csv_writer = csv.writer(data_file, delimiter=';')
csv_header_created = 0
for file_ids_chunks in file_ids_chunks_list:
    #get file data details with 100 ids per request
    link_file_data = 'https://api.streamtape.com/file/info?file={file}&login={login}&key={key}'.format( file=','.join(file_ids_chunks) , login=login, key=key)
    response = requests.get(link_file_data).json()
    for file_id in response['result']:
        file_data = response['result'][file_id]
        if csv_header_created == 0 :
            header = file_data.keys()
            csv_writer.writerow(header)
            csv_header_created = 1
  
        csv_writer.writerow(file_data.values())

data_file.close()
 
Last edited:
I have a problem.I was going to enter the site but on the page,it writes that i have been blocked
Cloudflare Ray ID: 5ff1215b0fcd0696
Post automatically merged:

I have a problem.I was going to enter the site but on the page,it writes that i have been blocked
Cloudflare Ray ID: 5ff1215b0fcd0696
Ok it works now.
 
Last edited:
quick and dirty:
Code:
response = requests.get('https://api.streamtape.com/file/info?file='+file+'&login='+login+'&key='+key)

better and cleaner
Code:
response = requests.get('https://api.streamtape.com/file/info?file={file}&login={login}&key={key}'.format( file=file, login=login, key=key))

Thank you kind sir!!!

now I've learnt "format"~ Thank you!

Don't do this. The only correct way is:

Python:
response = requests.get('https://api.streamtape.com/file/info', params={
    'file': file,
    'login': login,
    'key': key,
})


Edit: also don't name your variable "file".
 
I have a problem. views are not counted on my streamtape account.I opened a video of my account for 11 minutes this morning to see if it was carefree but when I went back to my account there was no counted view! Is it because I am the owner of the account?
 
Back
Top