Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to find page ids from URL? #25

Closed
NickCrews opened this issue May 25, 2023 · 2 comments
Closed

How to find page ids from URL? #25

NickCrews opened this issue May 25, 2023 · 2 comments

Comments

@NickCrews
Copy link

I'm trying to look at the ads run by specific pages (~200 of them). I have these in the form of URLs of pages.

I have this working once I have the page id, but I can't figure out an automated way of finding the page id from a URL.

Any tips?

Thank you!

@hcych1
Copy link

hcych1 commented May 30, 2023

Hi Nick, unfortunately, the Ad Library API does not have the capability to convert page URL's to page ID's

@NickCrews
Copy link
Author

I ended up writing my own scraper as a workaround: https://gist.github.com/NickCrews/207888d33020b8fada4908f8be8dd930

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants