Autor Beitrag
Georg08
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 155
Erhaltene Danke: 6

Win XP
Delphi 7.0 Personal
BeitragVerfasst: Sa 05.06.10 00:22 
Hallo Forum,

Ich ahbe einen Youtubedownloader programmiert.
der hat eine Zeit lang auch schön funktioniert, aber im moment funktioniert er nicht mehr :(
Das Problem ist, dass er die Abschnitte nicht mehr finden konnte... Ich habe es hinbekommen, dass er die ID wieder findet, aber das "T" will einfach nicht :D

Das Programm ist einem Code nachempfunden den ich mal im forum gefunden habe hier der ausschnitt, der nicht funktioniert:
ausblenden Delphi-Quelltext
1:
2:
3:
  //T herausfiltern
  Pos1 := Pos('"t": "', Quelltext)+6;
  T := Copy(Quelltext, Pos1,PosEx('"',Quelltext,Pos1+1)-Pos1);

Da ich nur Delphi 7 Personal bestitze lasse ich den Quellcode über ein Memo einlesen (Habe ja keine HTTP Komponenten :( )

EDIT:
Ich setzte das hier mal Off-Topic, da es kein wirkliches Programmierproblem ist oder?!
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Sa 05.06.10 00:28 
Bitte nochmal kurz für die Unwissenden: WAS für ein T?
youtube, da ist es doch. Pos = 4.

Und wegen Delphi 7: Da kann man die Indy Komponenten dohc bestimmt nachinstallieren, oder nicht?

_________________
PROGRAMMER: A device for converting coffee into software.
Georg08 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 155
Erhaltene Danke: 6

Win XP
Delphi 7.0 Personal
BeitragVerfasst: Sa 05.06.10 00:36 
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 05.06.10 00:53 
Da hat youtube wohl die Seite geändert.
Bergmann89
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1742
Erhaltene Danke: 72

Win7 x64, Ubuntu 11.10
Delphi 7 Personal, Lazarus/FPC 2.2.4, C, C++, C# (Visual Studio 2010), PHP, Java (Netbeans, Eclipse)
BeitragVerfasst: Sa 05.06.10 01:40 
Hey,

das t steht jetz wo anders. Such ma nach "&t="...

MfG Bergmann

_________________
Ich weiß nicht viel, lern aber dafür umso schneller^^