Hier habe ich mal einen Beispiellink
**External links are only visible to Support Staff****External links are only visible to Support Staff**
Das Problem ist: wenn du mit docs.google.com im JD eingeloggt bist, wird gar nichts gecrawlt.
Man muss den Account dann also deaktivieren, um ihn dann beim Download wieder zu aktivieren wenn
a) entweder das File dem hinterlegten Account freigegeben ist
b) oder wenn jeder drauf Zugriff hat: das geringe Limit, was man ohne Account-Login hat, aufgebraucht ist
Wie psp mir in einer privaten Konversation erzählte, nutzt JD gar nicht die API von Google.
Ich hatte vor über 4,5 Jahren mal den Wunsch geäußert, dass JD die verschiedenen Streamingformate, die Google Drive genauso wie YT erstellt, ebenfalls abfangen kann. Das Google Drive-Plugin für Kodi, geschrieben in Python, kann das
**External links are only visible to Support Staff****External links are only visible to Support Staff**
Ich kann aber nicht erblicken, wo und wie es das macht (mangels Programmierkenntnissen). Ich bin mehrere py-Dateien zwar durchgegangen (da man ja anhand der Befehle erschließen kann, was an Stelle x gemacht werden soll), aber daraus nicht klüger geworden. Ich weiß nur, dass es (u.a./zumindest) die Drive API v2 nutzt; mittlerweile gibt es auch eine v3.
psp sagte mir auch, dass die API-Benutzung "intern" bisher abgelehnt wurde.
Durch die konforme API-Benutzung würde das JD-Plugin dann aber richtig crawlen, anstatt wie aktuell bei kleinsten Änderungen an der Website das Plugin wieder anpassen zu müssen, was aufgrund eurer Arbeitslast ja Monate (oder gar Jahre) dauern kann.
Google Drive nutzt denselben Player wie Google Fotos, und dieser nutzt den YouTube-Player. Es wäre wirklich zu schön um wahr zu sein, wenn das Ticket ("Streamingformate" bzw "Alle Videoqualitäten rausfiltern" oder "Alle Versionen", wie auch immer ihr das genannt habt) bei G Drive und Fotos ebenso kämen, wie es bei YT ja schon der Fall ist.
Das Video bei meinem Beispiellink oben hat im Original über 3 GB. Google Drive schafft es, bei optisch gleichbleibender Qualität die Größe auf 1,2 GB zu verringern. Bei den ebenfalls erstellten Versionen 720p und 360p sind es sogar nur 645 bzw. 182 MB.
Bei G Fotos schafft es JD bisher ja auch, die Version mit der "besten Qualität" (z.B. 1080p) zu crawlen.
English
The problem is: if you are logged into the JD with docs.google.com, nothing is crawled.
You then have to deactivate the account in order to reactivate it when downloading
a) either the file has been released to the stored account
b) or if everyone has access to it: the low limit of what you have without an account login has been used up
As psp told me in a private conversation, JD doesn't use Google's API at all.
More than 4.5 years ago I expressed the wish that JD could also intercept the various streaming formats that Google Drive creates just like YT. The Google Drive plugin for Kodi, written in Python, can do that
** External links are only visible to Support Staff **** External links are only visible to Support Staff **
But I can't see where and how it does it (due to a lack of programming knowledge). Although I went through several py files (since you can use the commands to determine what should be done in line x ), I did not find out any more. I just know that it uses (among other things / at least) the Drive API v2; now there is also a v3.
psp also told me that the API usage "internally" has been refused so far.
Due to the compliant use of the API, the JD plugin would then crawl properly instead of having to adjust the plugin again with the smallest changes to the website, which can take months (or even years) due to your workload.
Google Drive uses the same player as Google Photos, and it uses the YouTube player. It would really be too good to be true if the ticket ("streaming formats" or "filter out all video qualities" or "all versions", whatever you called it) came from G Drive and photos as well as from YT is already the case.
The video at my example link above has over 3 GB in the original. Google Drive manages to reduce the size to 1.2 GB while maintaining the same visual quality. In the 720p and 360p versions, which were also created, it is only 645 and 182 MB, respectively.
With G Photos, JD has also managed to crawl the version with the "best quality" (e.g. 1080p).
Last edited by Horstlegend; 17.11.2020 at 15:22.
|