Shell script to download info about movies from imdb/thmb and putting it into an .nfo file for per-use

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












0















Does anybody know of a tool which will extract info from imdb.com/themoviedb.org and dumping it into a text file? I have been searching but with no luck.



I usually get the movie name but want to have the plot, actors' names, keywords whatever info. Is there from imdb.com. If it's not possible from imdb.com then perhaps themoviedb.org?



Either of the above would be useful.



As of now I have to manually scrap the movie synopsis from the imdb.com site, create the .nfo file using mediainfo's --LogFile option.



Looking forward to make it easier and also down the road use more of the fields.










share|improve this question
























  • Have you tried wget or curl?

    – YoMismo
    Sep 11 '14 at 10:30











  • see wget or curl aren't really the answers. wget or curl will just download the webpage. What I need is some sort of structured data so that I can put in some form of metadata either as an .nfo file or in the media file itself so that later I can know at a glance what the movie is about, who acts in it and things like that even without the launching the movie itself. It could even be beneficial while searching as well. I don't know of a similar solution as of date.

    – shirish
    Sep 11 '14 at 20:38












  • I don't think you can find something like that, since every page is different and structured differently. It would be easier to download the pages and process them by yourself.

    – YoMismo
    Sep 12 '14 at 6:42











  • themoviedb have an api you can use together with curl/wget: themoviedb.org/documentation/api

    – Mikael Kjær
    Jan 24 '18 at 8:15
















0















Does anybody know of a tool which will extract info from imdb.com/themoviedb.org and dumping it into a text file? I have been searching but with no luck.



I usually get the movie name but want to have the plot, actors' names, keywords whatever info. Is there from imdb.com. If it's not possible from imdb.com then perhaps themoviedb.org?



Either of the above would be useful.



As of now I have to manually scrap the movie synopsis from the imdb.com site, create the .nfo file using mediainfo's --LogFile option.



Looking forward to make it easier and also down the road use more of the fields.










share|improve this question
























  • Have you tried wget or curl?

    – YoMismo
    Sep 11 '14 at 10:30











  • see wget or curl aren't really the answers. wget or curl will just download the webpage. What I need is some sort of structured data so that I can put in some form of metadata either as an .nfo file or in the media file itself so that later I can know at a glance what the movie is about, who acts in it and things like that even without the launching the movie itself. It could even be beneficial while searching as well. I don't know of a similar solution as of date.

    – shirish
    Sep 11 '14 at 20:38












  • I don't think you can find something like that, since every page is different and structured differently. It would be easier to download the pages and process them by yourself.

    – YoMismo
    Sep 12 '14 at 6:42











  • themoviedb have an api you can use together with curl/wget: themoviedb.org/documentation/api

    – Mikael Kjær
    Jan 24 '18 at 8:15














0












0








0


0






Does anybody know of a tool which will extract info from imdb.com/themoviedb.org and dumping it into a text file? I have been searching but with no luck.



I usually get the movie name but want to have the plot, actors' names, keywords whatever info. Is there from imdb.com. If it's not possible from imdb.com then perhaps themoviedb.org?



Either of the above would be useful.



As of now I have to manually scrap the movie synopsis from the imdb.com site, create the .nfo file using mediainfo's --LogFile option.



Looking forward to make it easier and also down the road use more of the fields.










share|improve this question
















Does anybody know of a tool which will extract info from imdb.com/themoviedb.org and dumping it into a text file? I have been searching but with no luck.



I usually get the movie name but want to have the plot, actors' names, keywords whatever info. Is there from imdb.com. If it's not possible from imdb.com then perhaps themoviedb.org?



Either of the above would be useful.



As of now I have to manually scrap the movie synopsis from the imdb.com site, create the .nfo file using mediainfo's --LogFile option.



Looking forward to make it easier and also down the road use more of the fields.







debian shell-script multimedia






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 30 '17 at 14:34









Kusalananda

127k16240395




127k16240395










asked Sep 10 '14 at 22:44









shirishshirish

3,76063183




3,76063183












  • Have you tried wget or curl?

    – YoMismo
    Sep 11 '14 at 10:30











  • see wget or curl aren't really the answers. wget or curl will just download the webpage. What I need is some sort of structured data so that I can put in some form of metadata either as an .nfo file or in the media file itself so that later I can know at a glance what the movie is about, who acts in it and things like that even without the launching the movie itself. It could even be beneficial while searching as well. I don't know of a similar solution as of date.

    – shirish
    Sep 11 '14 at 20:38












  • I don't think you can find something like that, since every page is different and structured differently. It would be easier to download the pages and process them by yourself.

    – YoMismo
    Sep 12 '14 at 6:42











  • themoviedb have an api you can use together with curl/wget: themoviedb.org/documentation/api

    – Mikael Kjær
    Jan 24 '18 at 8:15


















  • Have you tried wget or curl?

    – YoMismo
    Sep 11 '14 at 10:30











  • see wget or curl aren't really the answers. wget or curl will just download the webpage. What I need is some sort of structured data so that I can put in some form of metadata either as an .nfo file or in the media file itself so that later I can know at a glance what the movie is about, who acts in it and things like that even without the launching the movie itself. It could even be beneficial while searching as well. I don't know of a similar solution as of date.

    – shirish
    Sep 11 '14 at 20:38












  • I don't think you can find something like that, since every page is different and structured differently. It would be easier to download the pages and process them by yourself.

    – YoMismo
    Sep 12 '14 at 6:42











  • themoviedb have an api you can use together with curl/wget: themoviedb.org/documentation/api

    – Mikael Kjær
    Jan 24 '18 at 8:15

















Have you tried wget or curl?

– YoMismo
Sep 11 '14 at 10:30





Have you tried wget or curl?

– YoMismo
Sep 11 '14 at 10:30













see wget or curl aren't really the answers. wget or curl will just download the webpage. What I need is some sort of structured data so that I can put in some form of metadata either as an .nfo file or in the media file itself so that later I can know at a glance what the movie is about, who acts in it and things like that even without the launching the movie itself. It could even be beneficial while searching as well. I don't know of a similar solution as of date.

– shirish
Sep 11 '14 at 20:38






see wget or curl aren't really the answers. wget or curl will just download the webpage. What I need is some sort of structured data so that I can put in some form of metadata either as an .nfo file or in the media file itself so that later I can know at a glance what the movie is about, who acts in it and things like that even without the launching the movie itself. It could even be beneficial while searching as well. I don't know of a similar solution as of date.

– shirish
Sep 11 '14 at 20:38














I don't think you can find something like that, since every page is different and structured differently. It would be easier to download the pages and process them by yourself.

– YoMismo
Sep 12 '14 at 6:42





I don't think you can find something like that, since every page is different and structured differently. It would be easier to download the pages and process them by yourself.

– YoMismo
Sep 12 '14 at 6:42













themoviedb have an api you can use together with curl/wget: themoviedb.org/documentation/api

– Mikael Kjær
Jan 24 '18 at 8:15






themoviedb have an api you can use together with curl/wget: themoviedb.org/documentation/api

– Mikael Kjær
Jan 24 '18 at 8:15











2 Answers
2






active

oldest

votes


















0














You can download the data from IMDB to your computer from: http://www.imdb.com/interfaces and parse it any way you want :)






share|improve this answer


















  • 1





    The FTP data files are the only authorized source. See imdb.com/help/show_leaf?usedatasoftware. You may not use data mining, robots, screen scraping, or similar online data gathering and extraction tools on our website

    – Emmanuel
    Sep 11 '14 at 11:59







  • 1





    I know that imdb.com discourages this sort of behavior, that's why I had shared themoviedb.org which actually has Apps. and shared an API so people could use it to retrieve the data any way you want it.

    – shirish
    Sep 11 '14 at 14:15


















0














In this case I personally wouldn't reinvent the wheel and just use imdb-api (node.js) or some php imdb fetcher library. You could of course integrate those tools into your shell script.






share|improve this answer






















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f154932%2fshell-script-to-download-info-about-movies-from-imdb-thmb-and-putting-it-into-an%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You can download the data from IMDB to your computer from: http://www.imdb.com/interfaces and parse it any way you want :)






    share|improve this answer


















    • 1





      The FTP data files are the only authorized source. See imdb.com/help/show_leaf?usedatasoftware. You may not use data mining, robots, screen scraping, or similar online data gathering and extraction tools on our website

      – Emmanuel
      Sep 11 '14 at 11:59







    • 1





      I know that imdb.com discourages this sort of behavior, that's why I had shared themoviedb.org which actually has Apps. and shared an API so people could use it to retrieve the data any way you want it.

      – shirish
      Sep 11 '14 at 14:15















    0














    You can download the data from IMDB to your computer from: http://www.imdb.com/interfaces and parse it any way you want :)






    share|improve this answer


















    • 1





      The FTP data files are the only authorized source. See imdb.com/help/show_leaf?usedatasoftware. You may not use data mining, robots, screen scraping, or similar online data gathering and extraction tools on our website

      – Emmanuel
      Sep 11 '14 at 11:59







    • 1





      I know that imdb.com discourages this sort of behavior, that's why I had shared themoviedb.org which actually has Apps. and shared an API so people could use it to retrieve the data any way you want it.

      – shirish
      Sep 11 '14 at 14:15













    0












    0








    0







    You can download the data from IMDB to your computer from: http://www.imdb.com/interfaces and parse it any way you want :)






    share|improve this answer













    You can download the data from IMDB to your computer from: http://www.imdb.com/interfaces and parse it any way you want :)







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Sep 11 '14 at 10:20









    janrpnjanrpn

    792




    792







    • 1





      The FTP data files are the only authorized source. See imdb.com/help/show_leaf?usedatasoftware. You may not use data mining, robots, screen scraping, or similar online data gathering and extraction tools on our website

      – Emmanuel
      Sep 11 '14 at 11:59







    • 1





      I know that imdb.com discourages this sort of behavior, that's why I had shared themoviedb.org which actually has Apps. and shared an API so people could use it to retrieve the data any way you want it.

      – shirish
      Sep 11 '14 at 14:15












    • 1





      The FTP data files are the only authorized source. See imdb.com/help/show_leaf?usedatasoftware. You may not use data mining, robots, screen scraping, or similar online data gathering and extraction tools on our website

      – Emmanuel
      Sep 11 '14 at 11:59







    • 1





      I know that imdb.com discourages this sort of behavior, that's why I had shared themoviedb.org which actually has Apps. and shared an API so people could use it to retrieve the data any way you want it.

      – shirish
      Sep 11 '14 at 14:15







    1




    1





    The FTP data files are the only authorized source. See imdb.com/help/show_leaf?usedatasoftware. You may not use data mining, robots, screen scraping, or similar online data gathering and extraction tools on our website

    – Emmanuel
    Sep 11 '14 at 11:59






    The FTP data files are the only authorized source. See imdb.com/help/show_leaf?usedatasoftware. You may not use data mining, robots, screen scraping, or similar online data gathering and extraction tools on our website

    – Emmanuel
    Sep 11 '14 at 11:59





    1




    1





    I know that imdb.com discourages this sort of behavior, that's why I had shared themoviedb.org which actually has Apps. and shared an API so people could use it to retrieve the data any way you want it.

    – shirish
    Sep 11 '14 at 14:15





    I know that imdb.com discourages this sort of behavior, that's why I had shared themoviedb.org which actually has Apps. and shared an API so people could use it to retrieve the data any way you want it.

    – shirish
    Sep 11 '14 at 14:15













    0














    In this case I personally wouldn't reinvent the wheel and just use imdb-api (node.js) or some php imdb fetcher library. You could of course integrate those tools into your shell script.






    share|improve this answer



























      0














      In this case I personally wouldn't reinvent the wheel and just use imdb-api (node.js) or some php imdb fetcher library. You could of course integrate those tools into your shell script.






      share|improve this answer

























        0












        0








        0







        In this case I personally wouldn't reinvent the wheel and just use imdb-api (node.js) or some php imdb fetcher library. You could of course integrate those tools into your shell script.






        share|improve this answer













        In this case I personally wouldn't reinvent the wheel and just use imdb-api (node.js) or some php imdb fetcher library. You could of course integrate those tools into your shell script.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 12 '17 at 9:58









        marcmarc

        1,5881520




        1,5881520



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f154932%2fshell-script-to-download-info-about-movies-from-imdb-thmb-and-putting-it-into-an%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown






            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?