Skip to content

Commit

Permalink
new function get_webpage_metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
unytics committed Aug 24, 2023
1 parent 3d032b2 commit 925d7c3
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions bigfunctions/get_webpage_metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
type: function_py
category: get_data
author:
name: Paul Marcombes
url: https://www.linkedin.com/in/paul-marcombes
avatar_url: "https://lh3.googleusercontent.com/a-/ACB-R5RDf2yxcw1p_IYLCKmiUIScreatDdhG8B83om6Ohw=s260"
description: |
Get webpage metadata
(using [metadata_parser](https://github.com/jvanasco/metadata_parser) python library)
arguments:
- name: url
type: string
output:
name: metadata
type: json
examples:
- description: ""
arguments:
- "'https://apps.apple.com/fr/app/nickel-compte-pour-tous/id1119225763'"
output: "{...}"
code: |
import metadata_parser
page = metadata_parser.MetadataParser(url=url)
return page.metadata
requirements: |
requests
metadata_parser
quotas:
max_rows_per_query: 10

0 comments on commit 925d7c3

Please sign in to comment.