tingirifistik / btk_akademi Goto Github PK
View Code? Open in Web Editor NEWBTK Akademi Video Indirici
BTK Akademi Video Indirici
Traceback (most recent call last):
File "C:\Users\Berat\Desktop\BTK_Akademi\indir.py", line 48, in <module>
video_id = requests.post(url, headers=headers, json=json).json()["remoteCourseReference"]
KeyError: 'remoteCourseReference'
Hatasını alıyorum. Sorun nedir ?
Merhaba kodun çalışmıyor api sistemi sanırım değişmiş hata kodu:
C:\Users\Administrator\Documents\GitHub\BTK_Akademi>python indir.py -u https://cinema8.com/raw-video/MXBWzaJn?c=js-api 76_00_sifirdan_ileri_seviye_python_programlama_sadik_turan_GIRIS_.mp4 --> Indiriliyor... Traceback (most recent call last): File "C:\Users\Administrator\Documents\GitHub\BTK_Akademi\indir.py", line 51, in <module> download(args["url"], output) File "C:\Users\Administrator\Documents\GitHub\BTK_Akademi\indir.py", line 24, in download f.write(requests.get(json_file["url"]).content) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\api.py", line 75, in get return request('get', url, params=params, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\api.py", line 61, in request return session.request(method=method, url=url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\sessions.py", line 528, in request prep = self.prepare_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\sessions.py", line 456, in prepare_request p.prepare( File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\models.py", line 316, in prepare self.prepare_url(url, params) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\models.py", line 390, in prepare_url raise MissingSchema(error) requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?
Mevcut kodlarındaki AUTHORIZATION değişkenine sağlamamız gereken token bilgisini BTK Akademi için nasıl elde edebiliriz ? Bunu da Readme'de açıklarsan daha faydalı ve kullanımı kolay olur. Teşekkürler
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.