Guten Abend,
ich hab ein Problem mit einem Script, das mir Infos über ein Youtube und anschließend auch den Downloadlink zu diesem ausgibt. Youtube stellt eine Seite zur Verfügung, die die Eigenschaften als URL ausgibt. In diesem URl sind jetzt aber so 'wunderschöne' Teile wie %25252C und %252F dabei...
Hier ein Beispiel:
(BTW: Ein Spoiler wäre hier eigentlich ganz schön :D)
Per urlencode() kommt auch kein besseres Ergebniss bei raus
Der Hex to String-Convertor hat auch gezeigt, dass da nichts Hex ist bzw. nur sinnloses bei rauskommt.
Hat jemand von euch nie Idee, was das sein könnte?
ich hab ein Problem mit einem Script, das mir Infos über ein Youtube und anschließend auch den Downloadlink zu diesem ausgibt. Youtube stellt eine Seite zur Verfügung, die die Eigenschaften als URL ausgibt. In diesem URl sind jetzt aber so 'wunderschöne' Teile wie %25252C und %252F dabei...
Hier ein Beispiel:
Quellcode
- account_playback_token=&ptk=PHPtutorialDeutsch%252Buser&url_encoded_fmt_stream_map=url%3Dhttp%253A%252F%252Fo-o.preferred.muc01s01.v14.lscache2.c.youtube.com%252Fvideoplayback%253Fsparams%253Dcp%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Cratebypass%25252Csource%25252Cexpire%2526fexp%253D903309%25252C920800%25252C909906%25252C916201%2526itag%253D45%2526ip%253D91.0.0.0%2526signature%253D6A3E0BD88313B521BF2865EA5E2B08AB3D493262.22A33C9F8BCB9519708B6385F6D815B7D10DB4B2%2526sver%253D3%2526ratebypass%253Dyes%2526source%253Dyoutube%2526expire%253D1332124381%2526key%253Dyt1%2526ipbits%253D8%2526cp%253DU0hSR1FNUl9NS0NOMl9JR1ZEOkRqS2RYS1FWYjJK%2526id%253D169d49c835f5a963%26quality%3Dhd720%26fallback_host%3Dtc.v14.cache2.c.youtube.com%26type%3Dvideo%252Fwebm%253B%2Bcodecs%253D%2522vp8.0%252C%2Bvorbis%2522%26itag%3D45%2Curl%3Dhttp%253A%252F%252Fo-o.preferred.muc01s01.v21.lscache1.c.youtube.com%252Fvideoplayback%253Fsparams%253Dcp%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Cratebypass%25252Csource%25252Cexpire%2526fexp%253D903309%25252C920800%25252C909906%25252C916201%2526itag%253D22%2526ip%253D91.0.0.0%2526signature%253D8526343F9591C2875F5066D363E5FE72D7B3ABCC.73BD8BD98D5F64ED7D236775B09B407EF46D2112%2526sver%253D3%2526ratebypass%253Dyes%2526source%253Dyoutube%2526expire%253D1332124381%2526key%253Dyt1%2526ipbits%253D8%2526cp%253DU0hSR1FNUl9NS0NOMl9JR1ZEOkRqS2RYS1FWYjJK%2526id%253D169d49c835f5a963%26quality%3Dhd720%26fallback_host%3Dtc.v21.cache1.c.youtube.com%26type%3Dvideo%252Fmp4%253B%2Bcodecs%253D%2522avc1.64001F%252C%2Bmp4a.40.2%2522%26itag%3D22%2Curl%3Dhttp%253A%252F%252Fo-o.preferred.muc01s01.v1.lscache4.c.youtube.com%252Fvideoplayback%253Fsparams%253Dcp%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Cratebypass%25252Csource%25252Cexpire%2526fexp%253D903309%25252C920800%25252C909906%25252C916201%2526itag%253D44%2526ip%253D91.0.0.0%2526signature%253D12958E615314174A4496D20FC69AF264E8EF6B89.BD9A6DCD64F379F49E6EFD12C0078315E209D582%2526sver%253D3%2526ratebypass%253Dyes%2526source%253Dyoutube%2526expire%253D1332124381%2526key%253Dyt1%2526ipbits%253D8%2526cp%253DU0hSR1FNUl9NS0NOMl9JR1ZEOkRqS2RYS1FWYjJK%2526id%253D169d49c835f5a963%26quality%3Dlarge%26fallback_host%3Dtc.v1.cache4.c.youtube.com%26type%3Dvideo%252Fwebm%253B%2Bcodecs%253D%2522vp8.0%252C%2Bvorbis%2522%26itag%3D44%2Curl%3Dhttp%253A%252F%252Fo-o.preferred.muc01s01.v10.lscache3.c.youtube.com%252Fvideoplayback%253Fsparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cexpire%2526fexp%253D903309%25252C920800%25252C909906%25252C916201%2526algorithm%253Dthrottle-factor%2526itag%253D35%2526ip%253D91.0.0.0%2526burst%253D40%2526sver%253D3%2526signature%253D66C5E52E3CE2F0E90D1FAD40D5D6B64FD18FD6BF.CB572A1097C0B2086D209274B940AFEE9A8D02B6%2526source%253Dyoutube%2526expire%253D1332124381%2526key%253Dyt1%2526ipbits%253D8%2526factor%253D1.25%2526cp%253DU0hSR1FNUl9NS0NOMl9JR1ZEOkRqS2RYS1FWYjJK%2526id%253D169d49c835f5a963%26quality%3Dlarge%26fallback_host%3Dtc.v10.cache3.c.youtube.com%26type%3Dvideo%252Fx-flv%26itag%3D35%2Curl%3Dhttp%253A%252F%252Fo-o.preferred.muc01s01.v12.lscache8.c.youtube.com%252Fvideoplayback%253Fsparams%253Dcp%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Cratebypass%25252Csource%25252Cexpire%2526fexp%253D903309%25252C920800%25252C909906%25252C916201%2526itag%253D43%2526ip%253D91.0.0.0%2526signature%253D278775A56008F0CCF7730197357B51A8D4C6703E.B9BA51A71C07B02FB2092B941089535BCE74A3A6%2526sver%253D3%2526ratebypass%253Dyes%2526source%253Dyoutube%2526expire%253D1332124381%2526key%253Dyt1%2526ipbits%253D8%2526cp%253DU0hSR1FNUl9NS0NOMl9JR1ZEOkRqS2RYS1FWYjJK%2526id%253D169d49c835f5a963%26quality%3Dmedium%26fallback_host%3Dtc.v12.cache8.c.youtube.com%26type%3Dvideo%252Fwebm%253B%2Bcodecs%253D%2522vp8.0%252C%2Bvorbis%2522%26itag%3D43%2Curl%3Dhttp%253A%252F%252Fo-o.preferred.muc01s01.v13.lscache4.c.youtube.com%252Fvideoplayback%253Fsparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cexpire%2526fexp%253D903309%25252C920800%25252C909906%25252C916201%2526algorithm%253Dthrottle-factor%2526itag%253D34%2526ip%253D91.0.0.0%2526burst%253D40%2526sver%253D3%2526signature%253D578B4E4E1F9D9691B02ED11AFC89F2AD030D1C74.9EC61772560210519E1C190A0C2A23E894FF1F44%2526source%253Dyoutube%2526expire%253D1332124381%2526key%253Dyt1%2526ipbits%253D8%2526factor%253D1.25%2526cp%253DU0hSR1FNUl9NS0NOMl9JR1ZEOkRqS2RYS1FWYjJK%2526id%253D169d49c835f5a963%26quality%3Dmedium%26fallback_host%3Dtc.v13.cache4.c.youtube.com%26type%3Dvideo%252Fx-flv%26itag%3D34%2Curl%3Dhttp%253A%252F%252Fo-o.preferred.muc01s01.v16.lscache6.c.youtube.com%252Fvideoplayback%253Fsparams%253Dcp%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Cratebypass%25252Csource%25252Cexpire%2526fexp%253D903309%25252C920800%25252C909906%25252C916201%2526itag%253D18%2526ip%253D91.0.0.0%2526signature%253DD49ABE0D9A31517A42EF1689B4EDD67C72495A7D.08EC32642191804ECBBF22ECE97BBC49281A6323%2526sver%253D3%2526ratebypass%253Dyes%2526source%253Dyoutube%2526expire%253D1332124381%2526key%253Dyt1%2526ipbits%253D8%2526cp%253DU0hSR1FNUl9NS0NOMl9JR1ZEOkRqS2RYS1FWYjJK%2526id%253D169d49c835f5a963%26quality%3Dmedium%26fallback_host%3Dtc.v16.cache6.c.youtube.com%26type%3Dvideo%252Fmp4%253B%2Bcodecs%253D%2522avc1.42001E%252C%2Bmp4a.40.2%2522%26itag%3D18%2Curl%3Dhttp%253A%252F%252Fo-o.preferred.muc01s01.v10.lscache7.c.youtube.com%252Fvideoplayback%253Fsparams%253Dalgorithm%25252Cburst%25252Ccp%25252Cfactor%25252Cid%25252Cip%25252Cipbits%25252Citag%25252Csource%25252Cexpire%2526fexp%253D903309%25252C920800%25252C909906%25252C916201%2526algorithm%253Dthrottle-factor%2526itag%253D5%2526ip%253D91.0.0.0%2526burst%253D40%2526sver%253D3%2526signature%253DC10521AC71056F6356615BD4936D0A2DC3A8E7A0.A4A7E242048D59B4244D50E9130468BDC3699FAF%2526source%253Dyoutube%2526expire%253D1332124381%2526key%253Dyt1%2526ipbits%253D8%2526factor%253D1.25%2526cp%253DU0hSR1FNUl9NS0NOMl9JR1ZEOkRqS2RYS1FWYjJK%2526id%253D169d49c835f5a963%26quality%3Dsmall%26fallback_host%3Dtc.v10.cache7.c.youtube.com%26type%3Dvideo%252Fx-flv%26itag%3D5&iv_close_button=0&mpvid=AAS7ikVITgEsXXJX&allow_ratings=1&keywords=PHP+Tutorial+deutsch%2CPHP+lernen%2CPHP+Kurs%2CWas+ist+PHP&track_embed=1&host_language=de&iv3_module=http%3A%2F%2Fs.ytimg.com%2Fyt%2Fswfbin%2Fiv3_module-vflPn2cc2.swf&no_get_video_log=1&fmt_list=45%2F1280x720%2F99%2F0%2F0%2C22%2F1280x720%2F9%2F0%2F115%2C44%2F854x480%2F99%2F0%2F0%2C35%2F854x480%2F9%2F0%2F115%2C43%2F640x360%2F99%2F0%2F0%2C34%2F640x360%2F9%2F0%2F115%2C18%2F640x360%2F9%2F0%2F115%2C5%2F320x240%2F7%2F0%2F0&iv_storage_server=http%3A%2F%2Fwww.youtube.com%2Fannotations_iv%2F&title=PHP+Tutorial+deutsch%3A+Was+ist+PHP%3F+Wie+kann+man+PHP+lernen+-+Unterlagen+von+www.PHP-Kurs.com&targeting_video_doc_id=&iurlmaxres=http%3A%2F%2Fi3.ytimg.com%2Fvi%2FFp1JyDX1qWM%2Fmaxresdefault.jpg&iv_load_policy=1&cafe_experiment_id=×tamp=1332102449&has_cc=False&ad_host=ca-host-pub-1682004430684133&ad_eurl=http%3A%2F%2Fwww.youtube.com%2Fvideo%2FFp1JyDX1qWM&hl=de_DE&iv_module=http%3A%2F%2Fs.ytimg.com%2Fyt%2Fswfbin%2Fiv_module-vfleKKM4W.swf&iv_logging_level=3&st_module=http%3A%2F%2Fs.ytimg.com%2Fyt%2Fswfbin%2Fst_module-vflATlNU3.swf&ad_flags=0&endscreen_module=http%3A%2F%2Fs.ytimg.com%2Fyt%2Fswfbin%2Fendscreen-vflAo1Ykw.swf&cid=296139&avg_rating=4.87341772152&ad_channel_code_overlay=invideo_overlay_480x70_cat27%2Cafv_overlay%2CVertical_Overlay_5%2CVidVert5%2CVertical_5%2Cafv_user_phptutorialdeutsch%2Cafv_user_id_5Sax3MmkSyJXkGqRw2EXtw%2Cyt_mpvid_AAS7ikVITgEsXXJX%2Cyt_cid_296139%2Cytexp_903309.920800.909906.916201%2Cytps_default%2Cytel_embedded&sendtmp=1&as_launched_in_country=1&token=vjVQa1PpcFPhPdTz_xC1FRWcYG08jgd23qLHsUpuN2g%3D&ad_logging_flag=1&sffb=True&fexp=903309%2C920800%2C909906%2C916201&shortform=True&creator=PHPtutorialDeutsch&allow_embed=1&ad_host_tier=320908&vq=auto&iv_enabled_features=TCS&excluded_ads=3%3D1_1%2C1_3&gut_tag=%2F4061%2Fytunknown%2Fmain&ptchn=PHPtutorialDeutsch&author=PHPtutorialDeutsch&muted=0&length_seconds=467&thumbnail_url=http%3A%2F%2Fi3.ytimg.com%2Fvi%2FFp1JyDX1qWM%2Fdefault.jpg&plid=AAS7ikVIUO-wTeuY&tmi=1&afv=True&ftoken=&ad_video_pub_id=ca-pub-6219811747049371&iurlsd=http%3A%2F%2Fi3.ytimg.com%2Fvi%2FFp1JyDX1qWM%2Fsddefault.jpg&status=ok&watermark=%2Chttp%3A%2F%2Fs.ytimg.com%2Fyt%2Fimg%2Fwatermark%2Fyoutube_watermark-vflHX6b6E.png%2Chttp%3A%2F%2Fs.ytimg.com%2Fyt%2Fimg%2Fwatermark%2Fyoutube_hd_watermark-vflAzLcD6.png&oid=hCScNS_Eme0&video_verticals=%5B5%5D&view_count=45702&ad_module=http%3A%2F%2Fs.ytimg.com%2Fyt%2Fswfbin%2Fad-vfl6EOokl.swf&pyv_in_related_cafe_experiment_id=&video_id=Fp1JyDX1qWM&iv_allow_in_place_switch=1&pltype=content
(BTW: Ein Spoiler wäre hier eigentlich ganz schön :D)
Per urlencode() kommt auch kein besseres Ergebniss bei raus

Der Hex to String-Convertor hat auch gezeigt, dass da nichts Hex ist bzw. nur sinnloses bei rauskommt.

Hat jemand von euch nie Idee, was das sein könnte?