目标:创建scrapy项目
创建一个spider来抓取站点和处理数据
通过命令行将抓取内容导出
1.创建项目
scrapy startproject tutorial
2.创建spider
cd tutorial
scrapy genspider quotes quotes.toscrape.com
3.创建item
4.解析response,获取网页内容
5.运行并保存文件
保存json格式:
scrapy crawl quotes -o quotes.json
输出结果:
[
{"tags": ["change", "deep-thoughts", "thinking", "world"], "text": "u201cThe world as we have created it is a process of our thinking. It cannot be changed without changing our thinking.u201d", "author": "Albert Einstein"},
{"tags": ["abilities", "choices"], "text": "u201cIt is our choices, Harry, that show what we truly are, far more than our abilities.u201d", "author": "J.K. Rowling"},
{"tags": ["inspirational", "life", "live", "miracle", "miracles"], "text": "u201cThere are only two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle.u201d", "author": "Albert Einstein"},
{"tags": ["aliteracy", "books", "classic", "humor"], "text": "u201cThe person, be it gentleman or lady, who has not pleasure in a good novel, must be intolerably stupid.u201d", "author": "Jane Austen"},
{"tags": ["be-yourself", "inspirational"], "text": "u201cImperfection is beauty, madness is genius and it's better to be absolutely ridiculous than absolutely boring.u201d", "author": "Marilyn Monroe"},
{"tags": ["adulthood", "success", "value"], "text": "u201cTry not to become a man of success. Rather become a man of value.u201d", "author": "Albert Einstein"},
{"tags": ["life", "love"], "text": "u201cIt is better to be hated for what you are than to be loved for what you are not.u201d", "author": "Andru00e9 Gide"},
{"tags": ["edison", "failure", "inspirational", "paraphrased"], "text": "u201cI have not failed. I've just found 10,000 ways that won't work.u201d", "author": "Thomas A. Edison"},
{"tags": ["misattributed-eleanor-roosevelt"], "text": "u201cA woman is like a tea bag; you never know how strong it is until it's in hot water.u201d", "author": "Eleanor Roosevelt"},
{"tags": ["humor", "obvious", "simile"], "text": "u201cA day without sunshine is like, you know, night.u201d", "author": "Steve Martin"},
{"tags": ["friends", "heartbreak", "inspirational", "life", "love", "sisters"], "text": "u201cThis life is what you make it. No matter what, you're going to mess up sometimes, it's a universal truth. But the good part is you get to decide how you're going to mess it up. Girls will be your friends - they'll act like it anyway. But just remember, some come, some go. The ones that stay with you through everything - they're your true best friends. Don't let go of them. Also remember, sisters make the best friends in the world. As for lovers, well, they'll come and go too. And baby, I hate to say it, most of them - actually pretty much all of them are going to break your heart, but you can't give up because if you give up, you'll never find your soulmate. You'll never find that half who makes you whole and that goes for everything. Just because you fail once, doesn't mean you're gonna fail at everything. Keep trying, hold on, and always, always, always believe in yourself, because if you don't, then who will, sweetie? So keep your head high, keep your chin up, and most importantly, keep smiling, because life's a beautiful thing and there's so much to smile about.u201d", "author": "Marilyn Monroe"},
{"tags": ["courage", "friends"], "text": "u201cIt takes a great deal of bravery to stand up to our enemies, but just as much to stand up to our friends.u201d", "author": "J.K. Rowling"},
{"tags": ["simplicity", "understand"], "text": "u201cIf you can't explain it to a six year old, you don't understand it yourself.u201d", "author": "Albert Einstein"},
{"tags": ["love"], "text": "u201cYou may not be her first, her last, or her only. She loved before she may love again. But if she loves you now, what else matters? She's not perfectu2014you aren't either, and the two of you may never be perfect together but if she can make you laugh, cause you to think twice, and admit to being human and making mistakes, hold onto her and give her the most you can. She may not be thinking about you every second of the day, but she will give you a part of her that she knows you can breaku2014her heart. So don't hurt her, don't change her, don't analyze and don't expect more than she can give. Smile when she makes you happy, let her know when she makes you mad, and miss her when she's not there.u201d", "author": "Bob Marley"},
{"tags": ["fantasy"], "text": "u201cI like nonsense, it wakes up the brain cells. Fantasy is a necessary ingredient in living.u201d", "author": "Dr. Seuss"},
{"tags": ["life", "navigation"], "text": "u201cI may not have gone where I intended to go, but I think I have ended up where I needed to be.u201d", "author": "Douglas Adams"},
{"tags": ["activism", "apathy", "hate", "indifference", "inspirational", "love", "opposite", "philosophy"], "text": "u201cThe opposite of love is not hate, it's indifference. The opposite of art is not ugliness, it's indifference. The opposite of faith is not heresy, it's indifference. And the opposite of life is not death, it's indifference.u201d", "author": "Elie Wiesel"},
{"tags": ["friendship", "lack-of-friendship", "lack-of-love", "love", "marriage", "unhappy-marriage"], "text": "u201cIt is not a lack of love, but a lack of friendship that makes unhappy marriages.u201d", "author": "Friedrich Nietzsche"},
{"tags": ["books", "contentment", "friends", "friendship", "life"], "text": "u201cGood friends, good books, and a sleepy conscience: this is the ideal life.u201d", "author": "Mark Twain"},
{"tags": ["fate", "life", "misattributed-john-lennon", "planning", "plans"], "text": "u201cLife is what happens to us while we are making other plans.u201d", "author": "Allen Saunders"},
{"tags": ["love", "poetry"], "text": "u201cI love you without knowing how, or when, or from where. I love you simply, without problems or pride: I love you in this way because I do not know any other way of loving but this, in which there is no I or you, so intimate that your hand upon my chest is my hand, so intimate that when I fall asleep your eyes close.u201d", "author": "Pablo Neruda"},
{"tags": ["happiness"], "text": "u201cFor every minute you are angry you lose sixty seconds of happiness.u201d", "author": "Ralph Waldo Emerson"},
{"tags": ["attributed-no-source"], "text": "u201cIf you judge people, you have no time to love them.u201d", "author": "Mother Teresa"},
{"tags": ["humor", "religion"], "text": "u201cAnyone who thinks sitting in church can make you a Christian must also think that sitting in a garage can make you a car.u201d", "author": "Garrison Keillor"},
{"tags": ["humor"], "text": "u201cBeauty is in the eye of the beholder and it may be necessary from time to time to give a stupid or misinformed beholder a black eye.u201d", "author": "Jim Henson"},
{"tags": ["comedy", "life", "yourself"], "text": "u201cToday you are You, that is truer than true. There is no one alive who is Youer than You.u201d", "author": "Dr. Seuss"},
{"tags": ["children", "fairy-tales"], "text": "u201cIf you want your children to be intelligent, read them fairy tales. If you want them to be more intelligent, read them more fairy tales.u201d", "author": "Albert Einstein"},
{"tags": [], "text": "u201cIt is impossible to live without failing at something, unless you live so cautiously that you might as well not have lived at all - in which case, you fail by default.u201d", "author": "J.K. Rowling"},
{"tags": ["imagination"], "text": "u201cLogic will get you from A to Z; imagination will get you everywhere.u201d", "author": "Albert Einstein"},
{"tags": ["music"], "text": "u201cOne good thing about music, when it hits you, you feel no pain.u201d", "author": "Bob Marley"},
{"tags": ["learning", "reading", "seuss"], "text": "u201cThe more that you read, the more things you will know. The more that you learn, the more places you'll go.u201d", "author": "Dr. Seuss"},
{"tags": ["dumbledore"], "text": "u201cOf course it is happening inside your head, Harry, but why on earth should that mean that it is not real?u201d", "author": "J.K. Rowling"},
{"tags": ["friendship"], "text": "u201cThe truth is, everyone is going to hurt you. You just got to find the ones worth suffering for.u201d", "author": "Bob Marley"},
{"tags": ["misattributed-to-mother-teresa", "paraphrased"], "text": "u201cNot all of us can do great things. But we can do small things with great love.u201d", "author": "Mother Teresa"},
{"tags": ["death", "inspirational"], "text": "u201cTo the well-organized mind, death is but the next great adventure.u201d", "author": "J.K. Rowling"},
{"tags": ["chocolate", "food", "humor"], "text": "u201cAll you need is love. But a little chocolate now and then doesn't hurt.u201d", "author": "Charles M. Schulz"},
{"tags": ["misattributed-to-c-s-lewis", "reading"], "text": "u201cWe read to know we're not alone.u201d", "author": "William Nicholson"},
{"tags": ["knowledge", "learning", "understanding", "wisdom"], "text": "u201cAny fool can know. The point is to understand.u201d", "author": "Albert Einstein"},
{"tags": ["books", "library"], "text": "u201cI have always imagined that Paradise will be a kind of library.u201d", "author": "Jorge Luis Borges"},
{"tags": ["inspirational"], "text": "u201cIt is never too late to be what you might have been.u201d", "author": "George Eliot"},
{"tags": ["read", "readers", "reading", "reading-books"], "text": "u201cA reader lives a thousand lives before he dies, said Jojen. The man who never reads lives only one.u201d", "author": "George R.R. Martin"},
{"tags": ["books", "inspirational", "reading", "tea"], "text": "u201cYou can never get a cup of tea large enough or a book long enough to suit me.u201d", "author": "C.S. Lewis"},
{"tags": [], "text": "u201cYou believe lies so you eventually learn to trust no one but yourself.u201d", "author": "Marilyn Monroe"},
{"tags": ["girls", "love"], "text": "u201cIf you can make a woman laugh, you can make her do anything.u201d", "author": "Marilyn Monroe"},
{"tags": ["life", "simile"], "text": "u201cLife is like riding a bicycle. To keep your balance, you must keep moving.u201d", "author": "Albert Einstein"},
{"tags": ["love"], "text": "u201cThe real lover is the man who can thrill you by kissing your forehead or smiling into your eyes or just staring into space.u201d", "author": "Marilyn Monroe"},
{"tags": ["attributed-no-source"], "text": "u201cA wise girl kisses but doesn't love, listens but doesn't believe, and leaves before she is left.u201d", "author": "Marilyn Monroe"},
{"tags": ["hope", "inspirational"], "text": "u201cOnly in the darkness can you see the stars.u201d", "author": "Martin Luther King Jr."},
{"tags": ["dumbledore"], "text": "u201cIt matters not what someone is born, but what they grow to be.u201d", "author": "J.K. Rowling"},
{"tags": ["love"], "text": "u201cLove does not begin and end the way we seem to think it does. Love is a battle, love is a war; love is a growing up.u201d", "author": "James Baldwin"},
{"tags": ["friendship", "love"], "text": "u201cThere is nothing I would not do for those who are really my friends. I have no notion of loving people by halves, it is not my nature.u201d", "author": "Jane Austen"},
{"tags": ["attributed", "fear", "inspiration"], "text": "u201cDo one thing every day that scares you.u201d", "author": "Eleanor Roosevelt"},
{"tags": ["attributed-no-source"], "text": "u201cI am good, but not an angel. I do sin, but I am not the devil. I am just a small girl in a big world trying to find someone to love.u201d", "author": "Marilyn Monroe"},
{"tags": ["music"], "text": "u201cIf I were not a physicist, I would probably be a musician. I often think in music. I live my daydreams in music. I see my life in terms of music.u201d", "author": "Albert Einstein"},
{"tags": ["books", "thought"], "text": "u201cIf you only read the books that everyone else is reading, you can only think what everyone else is thinking.u201d", "author": "Haruki Murakami"},
{"tags": ["misattributed-to-einstein"], "text": "u201cThe difference between genius and stupidity is: genius has its limits.u201d", "author": "Alexandre Dumas fils"},
{"tags": ["drug", "romance", "simile"], "text": "u201cHe's like a drug for you, Bella.u201d", "author": "Stephenie Meyer"},
{"tags": ["books", "friends", "novelist-quotes"], "text": "u201cThere is no friend as loyal as a book.u201d", "author": "Ernest Hemingway"},
{"tags": ["inspirational"], "text": "u201cWhen one door of happiness closes, another opens; but often we look so long at the closed door that we do not see the one which has been opened for us.u201d", "author": "Helen Keller"},
{"tags": ["inspirational", "life", "yourself"], "text": "u201cLife isn't about finding yourself. Life is about creating yourself.u201d", "author": "George Bernard Shaw"},
{"tags": ["alcohol"], "text": "u201cThat's the problem with drinking, I thought, as I poured myself a drink. If something bad happens you drink in an attempt to forget; if something good happens you drink in order to celebrate; and if nothing happens you drink to make something happen.u201d", "author": "Charles Bukowski"},
{"tags": ["the-hunger-games"], "text": "u201cYou donu2019t forget the face of the person who was your last hope.u201d", "author": "Suzanne Collins"},
{"tags": ["humor"], "text": "u201cRemember, we're madly in love, so it's all right to kiss me anytime you feel like it.u201d", "author": "Suzanne Collins"},
{"tags": ["love"], "text": "u201cTo love at all is to be vulnerable. Love anything and your heart will be wrung and possibly broken. If you want to make sure of keeping it intact you must give it to no one, not even an animal. Wrap it carefully round with hobbies and little luxuries; avoid all entanglements. Lock it up safe in the casket or coffin of your selfishness. But in that casket, safe, dark, motionless, airless, it will change. It will not be broken; it will become unbreakable, impenetrable, irredeemable. To love is to be vulnerable.u201d", "author": "C.S. Lewis"},
{"tags": ["bilbo", "journey", "lost", "quest", "travel", "wander"], "text": "u201cNot all those who wander are lost.u201d", "author": "J.R.R. Tolkien"},
{"tags": ["live-death-love"], "text": "u201cDo not pity the dead, Harry. Pity the living, and, above all those who live without love.u201d", "author": "J.K. Rowling"},
{"tags": ["good", "writing"], "text": "u201cThere is nothing to writing. All you do is sit down at a typewriter and bleed.u201d", "author": "Ernest Hemingway"},
{"tags": ["life", "regrets"], "text": "u201cFinish each day and be done with it. You have done what you could. Some blunders and absurdities no doubt crept in; forget them as soon as you can. Tomorrow is a new day. You shall begin it serenely and with too high a spirit to be encumbered with your old nonsense.u201d", "author": "Ralph Waldo Emerson"},
{"tags": ["education"], "text": "u201cI have never let my schooling interfere with my education.u201d", "author": "Mark Twain"},
{"tags": ["troubles"], "text": "u201cI have heard there are troubles of more than one kind. Some come from ahead and some come from behind. But I've bought a big bat. I'm all ready you see. Now my troubles are going to have troubles with me!u201d", "author": "Dr. Seuss"},
{"tags": ["friendship", "love"], "text": "u201cIf I had a flower for every time I thought of you...I could walk through my garden forever.u201d", "author": "Alfred Tennyson"},
{"tags": ["humor"], "text": "u201cSome people never go crazy. What truly horrible lives they must lead.u201d", "author": "Charles Bukowski"},
{"tags": ["humor", "open-mind", "thinking"], "text": "u201cThe trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.u201d", "author": "Terry Pratchett"},
{"tags": ["humor", "philosophy"], "text": "u201cThink left and think right and think low and think high. Oh, the thinks you can think up if only you try!u201d", "author": "Dr. Seuss"},
{"tags": ["authors", "books", "literature", "reading", "writing"], "text": "u201cWhat really knocks me out is a book that, when you're all done reading it, you wish the author that wrote it was a terrific friend of yours and you could call him up on the phone whenever you felt like it. That doesn't happen much, though.u201d", "author": "J.D. Salinger"},
{"tags": ["humor", "insanity", "lies", "lying", "self-indulgence", "truth"], "text": "u201cThe reason I talk to myself is because Iu2019m the only one whose answers I accept.u201d", "author": "George Carlin"},
{"tags": ["beatles", "connection", "dreamers", "dreaming", "dreams", "hope", "inspirational", "peace"], "text": "u201cYou may say I'm a dreamer, but I'm not the only one. I hope someday you'll join us. And the world will live as one.u201d", "author": "John Lennon"},
{"tags": ["humor", "sinister"], "text": "u201cI am free of all prejudice. I hate everyone equally. u201d", "author": "W.C. Fields"},
{"tags": [], "text": "u201cThe question isn't who is going to let me; it's who is going to stop me.u201d", "author": "Ayn Rand"},
{"tags": ["books", "classic", "reading"], "text": "u201cu2032Classicu2032 - a book which people praise and don't read.u201d", "author": "Mark Twain"},
{"tags": ["mistakes"], "text": "u201cAnyone who has never made a mistake has never tried anything new.u201d", "author": "Albert Einstein"},
{"tags": ["humor", "love", "romantic", "women"], "text": "u201cA lady's imagination is very rapid; it jumps from admiration to love, from love to matrimony in a moment.u201d", "author": "Jane Austen"},
{"tags": ["integrity"], "text": "u201cRemember, if the time should come when you have to make a choice between what is right and what is easy, remember what happened to a boy who was good, and kind, and brave, because he strayed across the path of Lord Voldemort. Remember Cedric Diggory.u201d", "author": "J.K. Rowling"},
{"tags": ["books", "library", "reading"], "text": "u201cI declare after all there is no enjoyment like reading! How much sooner one tires of any thing than of a book! -- When I have a house of my own, I shall be miserable if I have not an excellent library.u201d", "author": "Jane Austen"},
{"tags": ["elizabeth-bennet", "jane-austen"], "text": "u201cThere are few people whom I really love, and still fewer of whom I think well. The more I see of the world, the more am I dissatisfied with it; and every day confirms my belief of the inconsistency of all human characters, and of the little dependence that can be placed on the appearance of merit or sense.u201d", "author": "Jane Austen"},
{"tags": ["age", "fairytales", "growing-up"], "text": "u201cSome day you will be old enough to start reading fairy tales again.u201d", "author": "C.S. Lewis"},
{"tags": ["god"], "text": "u201cWe are not necessarily doubting that God will do the best for us; we are wondering how painful the best will turn out to be.u201d", "author": "C.S. Lewis"},
{"tags": ["death", "life"], "text": "u201cThe fear of death follows from the fear of life. A man who lives fully is prepared to die at any time.u201d", "author": "Mark Twain"},
{"tags": ["misattributed-mark-twain", "truth"], "text": "u201cA lie can travel half way around the world while the truth is putting on its shoes.u201d", "author": "Mark Twain"},
{"tags": ["christianity", "faith", "religion", "sun"], "text": "u201cI believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.u201d", "author": "C.S. Lewis"},
{"tags": ["truth"], "text": "u201cThe truth." Dumbledore sighed. "It is a beautiful and terrible thing, and should therefore be treated with great caution.u201d", "author": "J.K. Rowling"},
{"tags": ["death", "life"], "text": "u201cI'm the one that's got to die when it's time for me to die, so let me live my life the way I want to.u201d", "author": "Jimi Hendrix"},
{"tags": ["adventure", "love"], "text": "u201cTo die will be an awfully big adventure.u201d", "author": "J.M. Barrie"},
{"tags": ["courage"], "text": "u201cIt takes courage to grow up and become who you really are.u201d", "author": "E.E. Cummings"},
{"tags": ["life"], "text": "u201cBut better to get hurt by the truth than comforted with a lie.u201d", "author": "Khaled Hosseini"},
{"tags": ["better-life-empathy"], "text": "u201cYou never really understand a person until you consider things from his point of view... Until you climb inside of his skin and walk around in it.u201d", "author": "Harper Lee"},
{"tags": ["books", "children", "difficult", "grown-ups", "write", "writers", "writing"], "text": "u201cYou have to write the book that wants to be written. And if the book will be too difficult for grown-ups, then you write it for children.u201d", "author": "Madeleine L'Engle"},
{"tags": ["truth"], "text": "u201cNever tell the truth to people who are not worthy of it.u201d", "author": "Mark Twain"},
{"tags": ["inspirational"], "text": "u201cA person's a person, no matter how small.u201d", "author": "Dr. Seuss"},
{"tags": ["books", "mind"], "text": "u201c... a mind needs books as a sword needs a whetstone, if it is to keep its edge.u201d", "author": "George R.R. Martin"}
]
保存xml格式:
scrapy crawl quotes -o quotes.xml
输出结果:
<?xml version="1.0" encoding="utf-8"?>
<items>
<item><tags><value>change</value><value>deep-thoughts</value><value>thinking</value><value>world</value></tags><author>Albert Einstein</author><text>“The world as we have created it is a process of our thinking. It cannot be changed without changing our thinking.”</text></item>
<item><tags><value>abilities</value><value>choices</value></tags><author>J.K. Rowling</author><text>“It is our choices, Harry, that show what we truly are, far more than our abilities.”</text></item>
<item><tags><value>inspirational</value><value>life</value><value>live</value><value>miracle</value><value>miracles</value></tags><author>Albert Einstein</author><text>“There are only two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle.”</text></item>
<item><tags><value>aliteracy</value><value>books</value><value>classic</value><value>humor</value></tags><author>Jane Austen</author><text>“The person, be it gentleman or lady, who has not pleasure in a good novel, must be intolerably stupid.”</text></item>
<item><tags><value>be-yourself</value><value>inspirational</value></tags><author>Marilyn Monroe</author><text>“Imperfection is beauty, madness is genius and it's better to be absolutely ridiculous than absolutely boring.”</text></item>
<item><tags><value>adulthood</value><value>success</value><value>value</value></tags><author>Albert Einstein</author><text>“Try not to become a man of success. Rather become a man of value.”</text></item>
<item><tags><value>life</value><value>love</value></tags><author>André Gide</author><text>“It is better to be hated for what you are than to be loved for what you are not.”</text></item>
<item><tags><value>edison</value><value>failure</value><value>inspirational</value><value>paraphrased</value></tags><author>Thomas A. Edison</author><text>“I have not failed. I've just found 10,000 ways that won't work.”</text></item>
<item><tags><value>misattributed-eleanor-roosevelt</value></tags><author>Eleanor Roosevelt</author><text>“A woman is like a tea bag; you never know how strong it is until it's in hot water.”</text></item>
<item><tags><value>humor</value><value>obvious</value><value>simile</value></tags><author>Steve Martin</author><text>“A day without sunshine is like, you know, night.”</text></item>
<item><tags><value>friends</value><value>heartbreak</value><value>inspirational</value><value>life</value><value>love</value><value>sisters</value></tags><author>Marilyn Monroe</author><text>“This life is what you make it. No matter what, you're going to mess up sometimes, it's a universal truth. But the good part is you get to decide how you're going to mess it up. Girls will be your friends - they'll act like it anyway. But just remember, some come, some go. The ones that stay with you through everything - they're your true best friends. Don't let go of them. Also remember, sisters make the best friends in the world. As for lovers, well, they'll come and go too. And baby, I hate to say it, most of them - actually pretty much all of them are going to break your heart, but you can't give up because if you give up, you'll never find your soulmate. You'll never find that half who makes you whole and that goes for everything. Just because you fail once, doesn't mean you're gonna fail at everything. Keep trying, hold on, and always, always, always believe in yourself, because if you don't, then who will, sweetie? So keep your head high, keep your chin up, and most importantly, keep smiling, because life's a beautiful thing and there's so much to smile about.”</text></item>
<item><tags><value>courage</value><value>friends</value></tags><author>J.K. Rowling</author><text>“It takes a great deal of bravery to stand up to our enemies, but just as much to stand up to our friends.”</text></item>
<item><tags><value>simplicity</value><value>understand</value></tags><author>Albert Einstein</author><text>“If you can't explain it to a six year old, you don't understand it yourself.”</text></item>
<item><tags><value>love</value></tags><author>Bob Marley</author><text>“You may not be her first, her last, or her only. She loved before she may love again. But if she loves you now, what else matters? She's not perfect—you aren't either, and the two of you may never be perfect together but if she can make you laugh, cause you to think twice, and admit to being human and making mistakes, hold onto her and give her the most you can. She may not be thinking about you every second of the day, but she will give you a part of her that she knows you can break—her heart. So don't hurt her, don't change her, don't analyze and don't expect more than she can give. Smile when she makes you happy, let her know when she makes you mad, and miss her when she's not there.”</text></item>
<item><tags><value>fantasy</value></tags><author>Dr. Seuss</author><text>“I like nonsense, it wakes up the brain cells. Fantasy is a necessary ingredient in living.”</text></item>
<item><tags><value>life</value><value>navigation</value></tags><author>Douglas Adams</author><text>“I may not have gone where I intended to go, but I think I have ended up where I needed to be.”</text></item>
<item><tags><value>activism</value><value>apathy</value><value>hate</value><value>indifference</value><value>inspirational</value><value>love</value><value>opposite</value><value>philosophy</value></tags><author>Elie Wiesel</author><text>“The opposite of love is not hate, it's indifference. The opposite of art is not ugliness, it's indifference. The opposite of faith is not heresy, it's indifference. And the opposite of life is not death, it's indifference.”</text></item>
<item><tags><value>friendship</value><value>lack-of-friendship</value><value>lack-of-love</value><value>love</value><value>marriage</value><value>unhappy-marriage</value></tags><author>Friedrich Nietzsche</author><text>“It is not a lack of love, but a lack of friendship that makes unhappy marriages.”</text></item>
<item><tags><value>books</value><value>contentment</value><value>friends</value><value>friendship</value><value>life</value></tags><author>Mark Twain</author><text>“Good friends, good books, and a sleepy conscience: this is the ideal life.”</text></item>
<item><tags><value>fate</value><value>life</value><value>misattributed-john-lennon</value><value>planning</value><value>plans</value></tags><author>Allen Saunders</author><text>“Life is what happens to us while we are making other plans.”</text></item>
<item><tags><value>love</value><value>poetry</value></tags><author>Pablo Neruda</author><text>“I love you without knowing how, or when, or from where. I love you simply, without problems or pride: I love you in this way because I do not know any other way of loving but this, in which there is no I or you, so intimate that your hand upon my chest is my hand, so intimate that when I fall asleep your eyes close.”</text></item>
<item><tags><value>happiness</value></tags><author>Ralph Waldo Emerson</author><text>“For every minute you are angry you lose sixty seconds of happiness.”</text></item>
<item><tags><value>attributed-no-source</value></tags><author>Mother Teresa</author><text>“If you judge people, you have no time to love them.”</text></item>
<item><tags><value>humor</value><value>religion</value></tags><author>Garrison Keillor</author><text>“Anyone who thinks sitting in church can make you a Christian must also think that sitting in a garage can make you a car.”</text></item>
<item><tags><value>humor</value></tags><author>Jim Henson</author><text>“Beauty is in the eye of the beholder and it may be necessary from time to time to give a stupid or misinformed beholder a black eye.”</text></item>
<item><tags><value>comedy</value><value>life</value><value>yourself</value></tags><author>Dr. Seuss</author><text>“Today you are You, that is truer than true. There is no one alive who is Youer than You.”</text></item>
<item><tags><value>children</value><value>fairy-tales</value></tags><author>Albert Einstein</author><text>“If you want your children to be intelligent, read them fairy tales. If you want them to be more intelligent, read them more fairy tales.”</text></item>
<item><tags></tags><author>J.K. Rowling</author><text>“It is impossible to live without failing at something, unless you live so cautiously that you might as well not have lived at all - in which case, you fail by default.”</text></item>
<item><tags><value>imagination</value></tags><author>Albert Einstein</author><text>“Logic will get you from A to Z; imagination will get you everywhere.”</text></item>
<item><tags><value>music</value></tags><author>Bob Marley</author><text>“One good thing about music, when it hits you, you feel no pain.”</text></item>
<item><tags><value>learning</value><value>reading</value><value>seuss</value></tags><author>Dr. Seuss</author><text>“The more that you read, the more things you will know. The more that you learn, the more places you'll go.”</text></item>
<item><tags><value>dumbledore</value></tags><author>J.K. Rowling</author><text>“Of course it is happening inside your head, Harry, but why on earth should that mean that it is not real?”</text></item>
<item><tags><value>friendship</value></tags><author>Bob Marley</author><text>“The truth is, everyone is going to hurt you. You just got to find the ones worth suffering for.”</text></item>
<item><tags><value>misattributed-to-mother-teresa</value><value>paraphrased</value></tags><author>Mother Teresa</author><text>“Not all of us can do great things. But we can do small things with great love.”</text></item>
<item><tags><value>death</value><value>inspirational</value></tags><author>J.K. Rowling</author><text>“To the well-organized mind, death is but the next great adventure.”</text></item>
<item><tags><value>chocolate</value><value>food</value><value>humor</value></tags><author>Charles M. Schulz</author><text>“All you need is love. But a little chocolate now and then doesn't hurt.”</text></item>
<item><tags><value>misattributed-to-c-s-lewis</value><value>reading</value></tags><author>William Nicholson</author><text>“We read to know we're not alone.”</text></item>
<item><tags><value>knowledge</value><value>learning</value><value>understanding</value><value>wisdom</value></tags><author>Albert Einstein</author><text>“Any fool can know. The point is to understand.”</text></item>
<item><tags><value>books</value><value>library</value></tags><author>Jorge Luis Borges</author><text>“I have always imagined that Paradise will be a kind of library.”</text></item>
<item><tags><value>inspirational</value></tags><author>George Eliot</author><text>“It is never too late to be what you might have been.”</text></item>
<item><tags><value>read</value><value>readers</value><value>reading</value><value>reading-books</value></tags><author>George R.R. Martin</author><text>“A reader lives a thousand lives before he dies, said Jojen. The man who never reads lives only one.”</text></item>
<item><tags><value>books</value><value>inspirational</value><value>reading</value><value>tea</value></tags><author>C.S. Lewis</author><text>“You can never get a cup of tea large enough or a book long enough to suit me.”</text></item>
<item><tags></tags><author>Marilyn Monroe</author><text>“You believe lies so you eventually learn to trust no one but yourself.”</text></item>
<item><tags><value>girls</value><value>love</value></tags><author>Marilyn Monroe</author><text>“If you can make a woman laugh, you can make her do anything.”</text></item>
<item><tags><value>life</value><value>simile</value></tags><author>Albert Einstein</author><text>“Life is like riding a bicycle. To keep your balance, you must keep moving.”</text></item>
<item><tags><value>love</value></tags><author>Marilyn Monroe</author><text>“The real lover is the man who can thrill you by kissing your forehead or smiling into your eyes or just staring into space.”</text></item>
<item><tags><value>attributed-no-source</value></tags><author>Marilyn Monroe</author><text>“A wise girl kisses but doesn't love, listens but doesn't believe, and leaves before she is left.”</text></item>
<item><tags><value>hope</value><value>inspirational</value></tags><author>Martin Luther King Jr.</author><text>“Only in the darkness can you see the stars.”</text></item>
<item><tags><value>dumbledore</value></tags><author>J.K. Rowling</author><text>“It matters not what someone is born, but what they grow to be.”</text></item>
<item><tags><value>love</value></tags><author>James Baldwin</author><text>“Love does not begin and end the way we seem to think it does. Love is a battle, love is a war; love is a growing up.”</text></item>
<item><tags><value>friendship</value><value>love</value></tags><author>Jane Austen</author><text>“There is nothing I would not do for those who are really my friends. I have no notion of loving people by halves, it is not my nature.”</text></item>
<item><tags><value>attributed</value><value>fear</value><value>inspiration</value></tags><author>Eleanor Roosevelt</author><text>“Do one thing every day that scares you.”</text></item>
<item><tags><value>attributed-no-source</value></tags><author>Marilyn Monroe</author><text>“I am good, but not an angel. I do sin, but I am not the devil. I am just a small girl in a big world trying to find someone to love.”</text></item>
<item><tags><value>music</value></tags><author>Albert Einstein</author><text>“If I were not a physicist, I would probably be a musician. I often think in music. I live my daydreams in music. I see my life in terms of music.”</text></item>
<item><tags><value>books</value><value>thought</value></tags><author>Haruki Murakami</author><text>“If you only read the books that everyone else is reading, you can only think what everyone else is thinking.”</text></item>
<item><tags><value>misattributed-to-einstein</value></tags><author>Alexandre Dumas fils</author><text>“The difference between genius and stupidity is: genius has its limits.”</text></item>
<item><tags><value>drug</value><value>romance</value><value>simile</value></tags><author>Stephenie Meyer</author><text>“He's like a drug for you, Bella.”</text></item>
<item><tags><value>books</value><value>friends</value><value>novelist-quotes</value></tags><author>Ernest Hemingway</author><text>“There is no friend as loyal as a book.”</text></item>
<item><tags><value>inspirational</value></tags><author>Helen Keller</author><text>“When one door of happiness closes, another opens; but often we look so long at the closed door that we do not see the one which has been opened for us.”</text></item>
<item><tags><value>inspirational</value><value>life</value><value>yourself</value></tags><author>George Bernard Shaw</author><text>“Life isn't about finding yourself. Life is about creating yourself.”</text></item>
<item><tags><value>alcohol</value></tags><author>Charles Bukowski</author><text>“That's the problem with drinking, I thought, as I poured myself a drink. If something bad happens you drink in an attempt to forget; if something good happens you drink in order to celebrate; and if nothing happens you drink to make something happen.”</text></item>
<item><tags><value>the-hunger-games</value></tags><author>Suzanne Collins</author><text>“You don’t forget the face of the person who was your last hope.”</text></item>
<item><tags><value>humor</value></tags><author>Suzanne Collins</author><text>“Remember, we're madly in love, so it's all right to kiss me anytime you feel like it.”</text></item>
<item><tags><value>love</value></tags><author>C.S. Lewis</author><text>“To love at all is to be vulnerable. Love anything and your heart will be wrung and possibly broken. If you want to make sure of keeping it intact you must give it to no one, not even an animal. Wrap it carefully round with hobbies and little luxuries; avoid all entanglements. Lock it up safe in the casket or coffin of your selfishness. But in that casket, safe, dark, motionless, airless, it will change. It will not be broken; it will become unbreakable, impenetrable, irredeemable. To love is to be vulnerable.”</text></item>
<item><tags><value>bilbo</value><value>journey</value><value>lost</value><value>quest</value><value>travel</value><value>wander</value></tags><author>J.R.R. Tolkien</author><text>“Not all those who wander are lost.”</text></item>
<item><tags><value>live-death-love</value></tags><author>J.K. Rowling</author><text>“Do not pity the dead, Harry. Pity the living, and, above all those who live without love.”</text></item>
<item><tags><value>good</value><value>writing</value></tags><author>Ernest Hemingway</author><text>“There is nothing to writing. All you do is sit down at a typewriter and bleed.”</text></item>
<item><tags><value>life</value><value>regrets</value></tags><author>Ralph Waldo Emerson</author><text>“Finish each day and be done with it. You have done what you could. Some blunders and absurdities no doubt crept in; forget them as soon as you can. Tomorrow is a new day. You shall begin it serenely and with too high a spirit to be encumbered with your old nonsense.”</text></item>
<item><tags><value>education</value></tags><author>Mark Twain</author><text>“I have never let my schooling interfere with my education.”</text></item>
<item><tags><value>troubles</value></tags><author>Dr. Seuss</author><text>“I have heard there are troubles of more than one kind. Some come from ahead and some come from behind. But I've bought a big bat. I'm all ready you see. Now my troubles are going to have troubles with me!”</text></item>
<item><tags><value>friendship</value><value>love</value></tags><author>Alfred Tennyson</author><text>“If I had a flower for every time I thought of you...I could walk through my garden forever.”</text></item>
<item><tags><value>humor</value></tags><author>Charles Bukowski</author><text>“Some people never go crazy. What truly horrible lives they must lead.”</text></item>
<item><tags><value>humor</value><value>open-mind</value><value>thinking</value></tags><author>Terry Pratchett</author><text>“The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.”</text></item>
<item><tags><value>humor</value><value>philosophy</value></tags><author>Dr. Seuss</author><text>“Think left and think right and think low and think high. Oh, the thinks you can think up if only you try!”</text></item>
<item><tags><value>authors</value><value>books</value><value>literature</value><value>reading</value><value>writing</value></tags><author>J.D. Salinger</author><text>“What really knocks me out is a book that, when you're all done reading it, you wish the author that wrote it was a terrific friend of yours and you could call him up on the phone whenever you felt like it. That doesn't happen much, though.”</text></item>
<item><tags><value>humor</value><value>insanity</value><value>lies</value><value>lying</value><value>self-indulgence</value><value>truth</value></tags><author>George Carlin</author><text>“The reason I talk to myself is because I’m the only one whose answers I accept.”</text></item>
<item><tags><value>beatles</value><value>connection</value><value>dreamers</value><value>dreaming</value><value>dreams</value><value>hope</value><value>inspirational</value><value>peace</value></tags><author>John Lennon</author><text>“You may say I'm a dreamer, but I'm not the only one. I hope someday you'll join us. And the world will live as one.”</text></item>
<item><tags><value>humor</value><value>sinister</value></tags><author>W.C. Fields</author><text>“I am free of all prejudice. I hate everyone equally. ”</text></item>
<item><tags></tags><author>Ayn Rand</author><text>“The question isn't who is going to let me; it's who is going to stop me.”</text></item>
<item><tags><value>books</value><value>classic</value><value>reading</value></tags><author>Mark Twain</author><text>“′Classic′ - a book which people praise and don't read.”</text></item>
<item><tags><value>mistakes</value></tags><author>Albert Einstein</author><text>“Anyone who has never made a mistake has never tried anything new.”</text></item>
<item><tags><value>humor</value><value>love</value><value>romantic</value><value>women</value></tags><author>Jane Austen</author><text>“A lady's imagination is very rapid; it jumps from admiration to love, from love to matrimony in a moment.”</text></item>
<item><tags><value>integrity</value></tags><author>J.K. Rowling</author><text>“Remember, if the time should come when you have to make a choice between what is right and what is easy, remember what happened to a boy who was good, and kind, and brave, because he strayed across the path of Lord Voldemort. Remember Cedric Diggory.”</text></item>
<item><tags><value>books</value><value>library</value><value>reading</value></tags><author>Jane Austen</author><text>“I declare after all there is no enjoyment like reading! How much sooner one tires of any thing than of a book! -- When I have a house of my own, I shall be miserable if I have not an excellent library.”</text></item>
<item><tags><value>elizabeth-bennet</value><value>jane-austen</value></tags><author>Jane Austen</author><text>“There are few people whom I really love, and still fewer of whom I think well. The more I see of the world, the more am I dissatisfied with it; and every day confirms my belief of the inconsistency of all human characters, and of the little dependence that can be placed on the appearance of merit or sense.”</text></item>
<item><tags><value>age</value><value>fairytales</value><value>growing-up</value></tags><author>C.S. Lewis</author><text>“Some day you will be old enough to start reading fairy tales again.”</text></item>
<item><tags><value>god</value></tags><author>C.S. Lewis</author><text>“We are not necessarily doubting that God will do the best for us; we are wondering how painful the best will turn out to be.”</text></item>
<item><tags><value>death</value><value>life</value></tags><author>Mark Twain</author><text>“The fear of death follows from the fear of life. A man who lives fully is prepared to die at any time.”</text></item>
<item><tags><value>misattributed-mark-twain</value><value>truth</value></tags><author>Mark Twain</author><text>“A lie can travel half way around the world while the truth is putting on its shoes.”</text></item>
<item><tags><value>christianity</value><value>faith</value><value>religion</value><value>sun</value></tags><author>C.S. Lewis</author><text>“I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.”</text></item>
<item><tags><value>truth</value></tags><author>J.K. Rowling</author><text>“The truth." Dumbledore sighed. "It is a beautiful and terrible thing, and should therefore be treated with great caution.”</text></item>
<item><tags><value>death</value><value>life</value></tags><author>Jimi Hendrix</author><text>“I'm the one that's got to die when it's time for me to die, so let me live my life the way I want to.”</text></item>
<item><tags><value>adventure</value><value>love</value></tags><author>J.M. Barrie</author><text>“To die will be an awfully big adventure.”</text></item>
<item><tags><value>courage</value></tags><author>E.E. Cummings</author><text>“It takes courage to grow up and become who you really are.”</text></item>
<item><tags><value>life</value></tags><author>Khaled Hosseini</author><text>“But better to get hurt by the truth than comforted with a lie.”</text></item>
<item><tags><value>better-life-empathy</value></tags><author>Harper Lee</author><text>“You never really understand a person until you consider things from his point of view... Until you climb inside of his skin and walk around in it.”</text></item>
<item><tags><value>books</value><value>children</value><value>difficult</value><value>grown-ups</value><value>write</value><value>writers</value><value>writing</value></tags><author>Madeleine L'Engle</author><text>“You have to write the book that wants to be written. And if the book will be too difficult for grown-ups, then you write it for children.”</text></item>
<item><tags><value>truth</value></tags><author>Mark Twain</author><text>“Never tell the truth to people who are not worthy of it.”</text></item>
<item><tags><value>inspirational</value></tags><author>Dr. Seuss</author><text>“A person's a person, no matter how small.”</text></item>
<item><tags><value>books</value><value>mind</value></tags><author>George R.R. Martin</author><text>“... a mind needs books as a sword needs a whetstone, if it is to keep its edge.”</text></item>
</items>