GithubHelp home page GithubHelp logo

Comments (6)

Prohibitive avatar Prohibitive commented on May 27, 2024 1

@KebabLord mantık harikasıymış :D
turkanimenin sahibi görmesin bunu silelim lütfen :DD

from turkanime-indirici.

KebabLord avatar KebabLord commented on May 27, 2024

Manuel Fansub Seç Kapalı olduğu için ilk Fansubu alıyor (AnimeWho)

hayır, yazılım tamamen türkanime'nin video'ları getirdiği endpoint'e ajax.get talepleri yollayarak çalışıyor
zaten öteki türlü, yalnızca butonlara otomatik olarak tıklayan bir script'den farkı kalmazdı.

Normalde N adet fansuba ait tüm yüklenmiş videoları getirebilmen için N adet istek yollaman gerekir, ama script 1 istekle tamamını getirebiliyor, (yakusoku-no-neverland-1-bolum)
image

Ardından best_video fonksiyonu ile en iyi videoyu araştırıyor:

def best_video(self, by_res=True, by_fansub=None, default_res=600, callback=lambda x:None):
"""
Parametrelerde belirtilmiş en ideal videoyu tespit edip döndürür.
- by_res: 1080p'ye ulaşmaya çalış
- by_fansub: belirtilen fansub'u öncelikli tut.
- default_res: Çözünürlüğü bilinmeyen videoların varsayılan çözünürlüğü.
- callback: function(hook_dict)
"""

Görseldeki tüm videoları sırasıyla şu şekilde filtreliyor:

  1. Desteklenmeyenleri çıkar
  2. Player kalitesine göre sırala
  3. Fansub modu aktifse seçilen fansuba ait videoları başa koy
  4. max çözünürlük ayarı açıksa 1080p bulana dek 1. sıradaki videodan sona doğru kontrol et
  5. 1080p bulamadıysan en yüksek çözünürlüğe sahip videoyu seç

Dediğim gibi script yalnızca ajax talepleri gönderiyor, hiçbir sayfayı tarayıcı gibi ziyaret etmiyor ve hiçbirşeyle etkileşime girmiyor. Bu sayede hızlı.

from turkanime-indirici.

KebabLord avatar KebabLord commented on May 27, 2024

2019'dan beri Schneizel üstadla yarış halindeyiz zaten, endpointleri güncelliyor, domainleri güncelliyor, kötüye kullanmayalım diye iframe'leri şifreliyor, javascript kodunu obfuscate eyliyor vs. O da bıktı sanırım artık :D

from turkanime-indirici.

Prohibitive avatar Prohibitive commented on May 27, 2024

👍 üstad bu ok.ru ortalama ne kadar sürede yayınlanır acaba ?

from turkanime-indirici.

KebabLord avatar KebabLord commented on May 27, 2024

@Prohibitive şuan düzeltilmiş halini yayınladım dost.
Aria2c'yi de entegre ettim, ayarlardan açıp onu da deneyebilirsin.

Güncel exe:
https://github.com/KebabLord/turkanime-indirici/releases/tag/V8.2.1

geri bildirimlerini bekliyor olacağım.

from turkanime-indirici.

KebabLord avatar KebabLord commented on May 27, 2024

bu issue yanıtlandığına göre kapayabilirim, script'e ilişkin bir problem gözlemlersen yeni bir issue açmaktan çekinme

from turkanime-indirici.

Related Issues (20)

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.