さんまがおいしい季節だねー(´・ω・`)

YouTube がブッコ抜きを IP でブロックするようになったらしい…とその回避方法

YouTube — タグ: , , — 形兆 @ 2009/04/09 2:35

形兆です。こんばんわ。

YouTube 関連のサイトを運営されている方から、YouTube の仕様変更で flv の直接ダウンロードができなくなったと相談を受けました。
こちらで調べた結果、一応問題は解決できたみたいなので簡単に報告しときます。

現状については tv-game.jp さんの YouTube 仕様変更 (2009年4月4日からか?) が簡潔に説明されているのでまずはご一読を。要は YouTube から flv ブッコ抜きをブロックされるようになったということみたいです。

私の方で確認した限りでは、FireFox で一度表示したビデオクリップを Opera で表示したりとかはできましたので、IP でブロックしているんじゃないかと思います。

で、解決方法ですが、long tail video の Youtube blocked http://youtube.com/get_video
Google Translate
に PHP のコード付きで色々と書かれてます。
こちらのサイトはフォーラムのようですので、やり方だけ簡単にまとめますと…

  1. http://www.youtube.com/get_video_info?&video_id=[VIDEO_ID] にリクエストを投げます。application/x-www-form-urlencoded 形式でデータが返ってきますので、token= 部分のビデオトークンを取り出します。
  2. http://youtube.com/get_video?video_id=[VIDEO_ID]&t=[VIDEO_TOKEN] にリクエストを投げ、HTTP ヘッダを取得します。long tail video では get_headers PHP 関数を使ってリクエストしてますが、この URL から返ってくるレスポンスはボディが空なので GET で問題ない(HEAD でリクエストする必要はない)みたいです。
  3. 成功時(ビデオクリップが存在するとき=成功です)は 303 See Other で HTTP レスポンスが返ってきますので、返ってきた HTTP ヘッダから Location を探します。
    この Location にダウンロード可能な flv や mp4 の URL が入ってます。
    tv-game.jp の方が言われてる、googlevideo のやたら長い URL はこの値だと思います。
    (将来的にずっと 303 が返ってくるかは分かりませんので、普通に HTTP エラーなら失敗と判断するコードを書いとく方がいいと思いますが、今回はその辺はパスです。)
  4. 上記の URL にユーザがブラウザからアクセスするとダウンロードが始まります。

という感じです。
fmt= うんぬんとか get_video のパラメータについては他のサイトで調べてください。

ブッコ抜きに関する個人的見解

なんかややこしい人が湧いてきたら嫌なので一応書いときますと、YouTube のブッコ抜き自体はあんまり褒められたものじゃないというか、法律的にもグレーだというのが個人的見解です。
国内法的には不正アクセス禁止法とかその辺だと思いますが、ちゃんと調べた上での話ではありませんのでご容赦を。
それと、リソースだけ乗っ取られるのはサーバ運営してる側からするとたまったもんじゃないだろうな、とは同情してます。運営に結構な金がかかってる訳ですし。

なんで、この手のことを記事にするのもどうかとは思ったのですが、tv-game.jp さんの記事の中で3割のサイトは今でもブッコ抜けてて7割が NG っていう状況を報告されているのが気になったので書いちゃいました。

気になったというのも、私の拙い Flash に関する知識から考えても、YouTube が本気でブッコ抜きをできなくしようと思ったらできるはず…少なくともこんな簡単にできないようにはできるはず…なのに何故しないのかと。
やるならちゃんとしろよ、という感じでしょうか…
私自身はブッコ抜きできなくなっても一向に困りませんしw

あと、中途半端にできる人とできない人がいる状況もどうかと。
この辺はいずれ解消されると思いますし、どうせすぐ一般的な情報になるでしょうからとっとと書いちゃえとw

形兆

P.S. 最初に話に出た知人が運営してるサイトはこちらです。よろしければどうぞ。
なんかブログに貼れるようになったみたいです。何が貼れるかは…向こうで見てくださいw

ようつぼ

18件のコメント »

  1. youtubeの仕様変更

    のびさんがyoutubeの仕様が変わって大変だったみたいね ギークなさくらちゃんの手助け(というよりほぼ全部ねw)で何とかなったみたい のびさんもさくらちゃんにきちんとお礼を言っ…

  2. 初めまして。
    コメントしていただいて、ありがとうございました。
    私のブログでこの記事を紹介しようか悩んでいるのですが、
    コメントから飛んでこれるので、ご要望がない限りはご紹介させていただくのは控えようかと思います。

    ですが、ヒントをいただけたので、大変感謝いたしております。
    これから作業を行おうかと思います。
    できましたら、またコメントさせていただきます。

    コメント by tv-game.jp — 2009 年 4 月 9 日 @ 10:40
  3. どうも。
    tv-game.jpです。
    ご教授いただいた方法で取得することができました!
    ありがとうございました!

    コメント by tv-game.jp — 2009 年 4 月 9 日 @ 10:57
  4. tg-game.jp 様
    コメントありがとうございます。
    トラックバックしておりますので私の方から紹介して頂きたいという要望はございません。
    そちらも復旧されたようで何よりです。
    今後ともよろしくお願いいたします。

    コメント by 形兆 — 2009 年 4 月 9 日 @ 20:50
  5. この方法でやったら出来ました!情報ありがとうございます

    コメント by 匿名 — 2009 年 4 月 13 日 @ 16:55
  6. 匿名様!
    コメントありがとうございます!
    またお越しになってくださいね、お待ちしております!!

    コメント by さくら — 2009 年 4 月 14 日 @ 04:02
  7. bookmarked!!, I love your blog!

    my webpage: Best Milling

    コメント by Best Milling — 2012 年 12 月 11 日 @ 17:31
  8. Thanks to my father who informed me about this blog, this web site is really remarkable.

    コメント by Alejandrina — 2013 年 1 月 9 日 @ 03:28
  9. Howdy! I know this is kinda off topic however , I’d figured I’d ask.

    Would you be interested in exchanging links or maybe guest authoring a blog
    article or vice-versa? My site discusses a lot of the same topics as yours and I feel we could greatly benefit from each
    other. If you’re interested feel free to shoot me an email. I look forward to hearing from you! Terrific blog by the way!

    コメント by top online classes — 2013 年 6 月 17 日 @ 04:07
  10. Fantastic web site. Plenty оf helpful info hеre. I’m sending it to a few friends ans additionally sharing іn delicious. Î

    コメント by Veda — 2014 年 5 月 14 日 @ 15:32
  11. Wonderful beat ! I wish to apprentice while you amend your website, how could i subscribe for a blog website?
    The account helped me a applicable deal. I had been a
    little bit familiar of this your broadcast offered shiny transparent idea

    Stop by my website :: air conditioner repair aurora colorado

    コメント by air conditioner repair aurora colorado — 2014 年 7 月 28 日 @ 23:36
  12. Great info. Lucky me I discovered your website
    by accident (stumbleupon). I have saved as a favorite for later!

    s what my Gran used to call those little notions that shops give away
    when they. The key to controlling te temptation is t listen to the
    cues from your ‘ody, telling ou when your stomach is full.
    You can lose weight through eating a healthy, balanced diet and getting exercise everyday.

    コメント by burger king whopper coupons — 2015 年 8 月 14 日 @ 13:31
  13. What i don’t realize is if truth be told how you’re no longer actually much more smartly-appreciated than you may be now.
    You are so intelligent. You understand thus significantly in relation to this subject,
    produced me for my part consider it from so many various angles.
    Its like women and men don’t seem to be interested unless it is one
    thing to accomplish with Girl gaga! Your personal
    stuffs great. At all times take care of it up!

    コメント by tom and jerry — 2016 年 10 月 31 日 @ 10:24
  14. Thank you, I’ve recently been looking for info approximately this
    topic for a long time and yours is the greatest I have came upon so
    far. But, what in regards to the conclusion? Are you positive in regards to the supply?

    コメント by Лучший боевик 2017 года — 2017 年 1 月 30 日 @ 22:53
  15. A self soaked upp reazl estate representative is
    stuck raising his Onne Decade olld granddaughter that he never even satisfied up until his estraanged
    son starts to run into legal problems.

    コメント by Vito — 2017 年 4 月 21 日 @ 21:25
  16. Hi, after reading this amazing paragraph i am too glad to share my know-how here with colleagues.

    コメント by bacon infused burger — 2017 年 5 月 1 日 @ 11:12
  17. Hurrah! At last I got a weblog from where I know how to genuinely get valuable information regarding my study and knowledge.

    コメント by Romantic piano music soft vocals — 2017 年 5 月 1 日 @ 12:31
  18. Symptoms And Therapy

    When I’m getting a yeast infection, I all the time start by
    treating it myself with one or more of the remedies listed below.
    It requires dramatic modifications in diet and lengthy-term attention to avoiding things
    that encourage yeast to grow. After nursing, rinse the nipples in an answer of 1/4 cup of vinegar in a cup of water.
    You should definitely full the whole dosage to prevent the infection from coming back.
    You can make some tea from calendula extract as it is usually efficient for treatment
    of yeast an infection. Nonetheless, amongst these, 40% of the cases are seen to develop
    a number of yeast infections in their lifetime. It can be blended with tea
    tree oil and applied to child’s bottom to deal with a yeasty diaper rash.

    Paints, family cleaners, perfumes, and scents might trigger
    allergic reactions, and chemical sensitivities are quite common in individuals with yeast overgrowth.

    Heat and moist environments with little or no oxygen breed the yeast organisms.
    Take a look at six dwelling cures I like to recommend essentially the most to stop
    and/or deal with this issue that too many ladies simply can not seem to shake.
    Antibiotics trigger many yeast infections, so turning into healthier and taking fewer antibiotics
    should mean fewer yeast infections. Here is a scoop
    of one of the best house treatments for yeast infection that may make it easier to
    keep away from shelling out wads of notes at the
    clinic and having to down bitter OTCs. Perfect remedy for candida points ought to first match the particular person particular
    person state of well being, and solely then the condition itself.
    Avoid unnecessary use of antibiotics Antibiotics can change the traditional balance
    of vaginal organisms, allowing extra progress of yeast.
    Alternatively, a pretty clear case of yeast is when ache comes out of nowhere after a
    period of mom being ache free. Each healthy girl’s vagina has yeast cells and bacteria in it.

    But when the yeast cells begins to multiply quickly in amount(overgrow),
    it results in a yeast an infection. Antibiotic use
    can cause a lower within the quantity of lactobacillus bacteria
    in your vagina, permitting yeast to overgrow. A male associate may
    harbor yeast and transmit it throughout sexual activity by his penis or oral secretions if you happen to observe oral intercourse.
    The glucose in these foods encourages yeast to grow and persist with vaginal cells.
    Yeast infection peeling can appear anyplace in the physique and in many instances will maintain coming again regardless of utilization of strong
    moisturizers or other creams. It’s normal to expertise a big enhance in vaginal
    discharge during pregnancy: The thin, milky, delicate-smelling,
    voluminous stuff is so common it has a reputation: leukorrhea A yeast an infection, however, makes your discharge white, lumpy and odorless.

    Kate: You are not fixing the issue, which is like the body is conducive to this
    yeast overgrowth and that’s not really being corrected by itself.

    An apple cider vinegar rinse may be of an important assist in treating an infection throughout being pregnant.
    I discovered this net page and used Apple Cider Vinegar treatment,
    and a half hour later no itching. Vinegar bath can relieve the physique
    from itching, burning and basic irritation. Vaginal yeast infections that do not reply
    to over-the-counter creams may have a stronger prescription-strength remedy or there may be other infections present.
    The optimal therapy for recurrent vulvovaginal candidiasis has not yet been defined ( Desk 2 ).

    Consequently, treatment have to be individualized primarily based on a comparability of effectiveness, comfort, potential unintended effects and
    price. I have three out of 4 dogs with some type of skin problem from itching for
    no purpose to full blown yeast. For external infections, like on the tongue, armpits and reproductive organs, use some coconut oil
    and massage that area ( Sure, you may also rub it on the tongue ) For inside infections, you’ll be able to
    drink 1-2 tablespoon of coconut oil on a regular basis, and be
    relaxation assured that the fungal an infection will be eradicated.
    However there is no scientific proof that doing
    this stuff prevents yeast infections. Male partners who do have symptoms akin to itching, rash, burning with urination or discharge
    from the penis needs to be evaluated. You will need to find the actual cause in your yeast infection and not solely get rid of the can do away with yeast an infection temporarily but can worsen later.
    In case you do not have fresh garlic, dilute the garlic
    oil with some drops of the coconut oil and
    vitamin e oil, and then you definitely apply this combination onto your affected skin space.
    Can’t believe I made it to 36 yrs previous without a yeast infection that I
    was aware of but thankful there may be some assist
    out right here. There are numerous therapy options obtainable for BV together with,
    but not limited to, oral drugs, suppositories, and sulfa creams.
    I am unable to think about how unsweetened coconut would trigger yeast infections when it is one of the best treatments to deal with and stop the infections within the first place.
    power yeast infections internally or externally are generally on account of meds or an excessive amount of refined meals that your physique is trying to let you know
    it doesn’t like. Consuming garlic cloves will cause dangerous breath but works more effective in treating the an infection.

    Some of those causes embrace stress, being pregnant, lack of sleep, poor weight loss program, and certain medicines like antibiotics.
    Calendula officinalis comes as a soothing yeast an infection cream or
    ointment you may apply to your skin, together with in and
    round your genitals. I significantly couldn’t imagine it.
    But I got rid of with puttin’ yogurt on it for about 20 minutes for 7 days kind of 1.
    I additionally think it had something to do with the truth that I feel very extremely of my health.
    For example, many ladies suffer from power yeast infections as a result of they medicate with out completely understanding the
    connection between the microbiome and yeast balances in the
    body. While oral anti-fungal remedy should not be used by pregnant
    sufferers, as indicated by , anti-fungal topical preparations are safe and effective remedies for managing yeast infections throughout the first trimester of being pregnant and beyond.

    If in case you have symptoms or questions about yeast infection remedy,
    contact The Girl’s Clinic at 877.455.1491 to schedule an appointment.
    It actually need not be that approach if you know what’s required to defeat yeast infections fully.

    That program has been a life saver for me.
    My skin fungus is nearly all cleared up. Be a part of now to
    receive free weekly newsletters tracking your baby’s improvement and yours all through your pregnancy.

    After the infection has cleared up and any sores have healed, it may be useful to
    make use of a starch-free drying powder, or Nystatin powder to forestall a recurring an infection. Be sure you wash your clothes
    totally (this may be a time to consider the hot water cycle), and change your towels regularly to keep away
    from passing the infection on to different members of
    the household. Nevertheless, this delicate steadiness can simply become
    upset when yeast begins to rapidly grow and take over.
    It’s helpful for treating power vaginal yeast infections or yeast infections which are
    proof against other remedies. By clicking Submit, I comply with
    the MedicineNet’s Phrases & Circumstances & Privacy Coverage and understand that I’ll opt out
    of MedicineNet’s subscriptions at any time. A urinary tract infection is usually attributable to micro organism and impacts any part of
    the urinary tract together with the bladder and
    kidneys. If this is the first time you’ve experienced these symptoms, it’s important for you
    to see a physician who can affirm that what you’ve
    gotten is a yeast infection. Topical Anti-Fungal Medicine: There a variety of over-the-counter medications
    obtainable for the therapy of VCC.

    A Last Word of Warning: Although most yeast infections are innocent, and will be eradicated with these simple home remedies,
    persistent yeast infections may be an indication of a more serious underlying
    condition. It’s important to get your vagina back in stability with the yeast and need to construct up good bacteria and
    get your pH again to the precise level (which is extra acidic).
    When choosing the treatment in your yeast infection, choose a treatment so you may have one of
    the best likelihood to eliminate your yeast an infection. Ears shall be pink and the ear canal might be swollen, painful and stuffed with brown discharge.

    The longer your dog’s yeast infection goes untreated, the tougher it is going to
    be to resolve, so it’s essential to search for these early signs.
    One downside of the Candida food plan is that
    it is extremely restrictive and a really strict regimen, also from a dietary stand level, it is
    not good for you. I used to get continual yeast infections,
    however now, when I really feel one coming on, I
    dont put on underwear and I take the Lady Soma Candida
    Capsules. See intimately natural residence remedies for yeast an infection which
    supplies prompt aid. Info on the ca Increase Fertile Mucus Naturally and Get Pregnant Faster.

    You may see then how necessary it’s to handle these
    root causes if you’re to have any probability
    of banishing your infection for good. Just tried a yeast infection treatment which helped dramatically,
    but not enough. After tossing the outdated cup and using disposable
    Softcups for one cycle whereas my latest infection cleared up, I have never had
    any extra issues (knock on wooden). What you need to know though is that yeast infections are really common amongst females (I’ve never met
    a lady who hasn’t had this). Certain birth control
    drugs may additionally improve your threat of getting a yeast an infection. I either take a bath with
    it or if it is actually bad I will swab the within of my vagina with
    it. Tea Tree Oil, such as you say, is awesome. What I do: It is onerous for me to remedy an infection fully on supplements alone.
    You may see now how essential it is to deal with these root causes in case you
    are to have any chance of banishing your an infection for good.
    Many ladies prefer this oral treatment as a result of it
    would not cause additional irritation to the vagina like topical therapies
    can. Many over the counter medicines like Monistat® and their generic
    equivalents can successfully treat Yeast infections. Nizoral (ketaconazole) is
    powerfully poisonous, however sadly not just to the yeast cells.

    This is the ultimate answer for eliminating that annoying itching and keeping the an infection below management.
    Yeast infections are most frequently handled with antifungal cream, suppositories or
    drugs. When crucial, medicines (antifungals) are prescribed to stop the yeast from rising.
    Signs for all three can include some form of vaginal discharge, itching,
    and irritation, so you will need to understand how they are different and require specialized treatment.
    So not only will ladies be yeast fungus free , they may also be parasite and virus free!

    Oral or intravaginal probiotics may be really helpful if a woman has more than three yeast infections annually.
    Oral itraconazole ( Sporanox ) or fluconazole (Diflucan) additionally may be useful
    and may be prescribed by a doctor. If women wish to treatment the yeast infections and get
    rid of candida fungus perpetually after they need to enhance their complete immune system.
    Nonetheless, it is very robust, so it is not advisable that you simply apply it instantly on the skin.
    Cranberries can deal with and forestall each yeast infections and urinary tract infections.
    A doctor can diagnose the an infection by evaluating the symptoms in your mouth
    and by taking a throat culture. Although Candida
    albicans is the commonest sort of yeast inflicting yeast
    infections, more durable-to-deal with forms of yeast, equivalent
    to Candida glabrata, can even infect the vagina and are more widespread with
    recurrent infections. Most girls contract a yeast an infection not less than once of their lives, and a few girls are liable to them.
    I have been coping with a yeast an infection for
    over two years, I am a virgin, so I don’t understand
    how I acquired it… My mom has made my life a dwelling hell.
    Vaginal yeast an infection symptoms could be mistaken for other health issues, so if it’s your first time having one and you’re not 100% positive of the
    cause of your signs, you may want to speak to your physician.
    But when the physique’s good bacteria is affected, it opens the door to a
    yeast overgrowth,” explains Dr Lee. Anyone utilizing a vaginal remedy ought to abstain from intercourse until the infection has been utterly treated —
    these medicines can weaken condoms and diaphragms.

    She’s left you with all kinds of at-house cures
    you can experiment with to prevent — and in some cases,
    even deal with — yeast infections, and you do not want a prescription or a pharmacy to get started.
    Keep away from the meals listed above beneath
    Holistic Cures as much as doable, and check out not to take synthetic tablets, particularly
    antibiotics and birth control drugs.

    コメント by treat yeast infection with yogurt — 2017 年 5 月 26 日 @ 16:36

この投稿へのコメントの RSS フィード。 TrackBack URI

コメントする

Copyright © 2017 さくらたんどっとびーず | powered by WordPress with Barecity