Git Product home page Git Product logo

obsidian-scrapers's Introduction

obsidian-scrapers's People

Contributors

basilioss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

obsidian-scrapers's Issues

Goodreads Script No Longer Works

obsidian.md-1674656931817.log

The Goodreads script has been working until recently when Goodreads changed their page format. I just get an error when I attempt to use the script now. I've attached the log file if that helps.

Is there something that can be done to repair it? Is there something I need to do on my side?

Provide local versions of images

Something really nice would be to support local images that can be downloaded and used in these scripts.

I tried adding the following code to goodreads.js but for some reason I got an ERR_CONNECTION_REFUSED error

First line:

fs = require('fs');

Later in the case switch:

    case "coverLocal":
      let coverUrl = $("img[id='coverImage']").src || "";
      let image = await tp.obsidian.request({ coverUrl });
      url_parts = coverUrl.split(".");
      let extension  = url_parts[url_parts.length - 1]; // Assumes there is an extension, TODO: deal with that
      let filename = new Date().getTime().toString() + "." + extension;
      fs.writeFile(filename, image);
      return "[["+filename+"]]";

Is it possible to set preferable language(s) for youtube?

I find out, there are videos with translated description and title for many languages. If I open it in my account, I see it in my preferable language. If the script gets it, it gets in original language. You can check it for example with this video: https://www.youtube.com/watch?v=9IQZIdpJ05Q - it's Italian, but I would like to have it in English or German.

So, would it be possible to set preferable language or languages for the script?

Getting Video ID for YouTube doesn't work.

If I put id: <% tp.user.youtube('id', tp, doc) %> into template, it doesn't work and in the developers console I see following message:

Templater Error: Template parsing error, aborting. 
 Cannot read properties of null (reading 'content')
log_error	@	plugin:templater-obsidian:61
errorWrapper	@	plugin:templater-obsidian:81
await in errorWrapper (async)		
append_template_to_active_file	@	plugin:templater-obsidian:3700
onChooseItem	@	plugin:templater-obsidian:2391
t.onChooseSuggestion	@	app.js:1
t.selectSuggestion	@	app.js:1
e.useSelectedItem	@	app.js:1
e.onSuggestionClick	@	app.js:1
s	@	enhance.js:1

Could you please check?

Request: LinkedIn

would it be possible to access data from linkedin as well?

thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.