Skip to content

Commit 8d9c6a4

Browse files
committed
fix urls
1 parent 6ad496d commit 8d9c6a4

File tree

4 files changed

+73
-73
lines changed

4 files changed

+73
-73
lines changed

proxycurl/asyncio/library.py

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ async def get(
181181

182182
resp = await self.linkedin.proxycurl.request(
183183
method='GET',
184-
url='/proxycurl/api/v2/linkedin',
184+
url='/api/v2/profile',
185185
params=params,
186186
data={
187187
},
@@ -553,7 +553,7 @@ async def search(
553553

554554
resp = await self.linkedin.proxycurl.request(
555555
method='GET',
556-
url='/proxycurl/api/search/person',
556+
url='/api/v2/search/person',
557557
params=params,
558558
data={
559559
},
@@ -646,7 +646,7 @@ async def resolve(
646646

647647
resp = await self.linkedin.proxycurl.request(
648648
method='GET',
649-
url='/proxycurl/api/linkedin/profile/resolve',
649+
url='/api/v2/profile/resolve',
650650
params=params,
651651
data={
652652
},
@@ -704,7 +704,7 @@ async def resolve_by_email(
704704

705705
resp = await self.linkedin.proxycurl.request(
706706
method='GET',
707-
url='/proxycurl/api/linkedin/profile/resolve/email',
707+
url='/api/v2/profile/resolve/email',
708708
params=params,
709709
data={
710710
},
@@ -734,7 +734,7 @@ async def resolve_by_phone(
734734

735735
resp = await self.linkedin.proxycurl.request(
736736
method='GET',
737-
url='/proxycurl/api/resolve/phone',
737+
url='/api/v2/resolve/phone',
738738
params=params,
739739
data={
740740
},
@@ -781,7 +781,7 @@ async def lookup_email(
781781

782782
resp = await self.linkedin.proxycurl.request(
783783
method='GET',
784-
url='/proxycurl/api/linkedin/profile/email',
784+
url='/api/v2/profile/email',
785785
params=params,
786786
data={
787787
},
@@ -845,7 +845,7 @@ async def personal_contact(
845845

846846
resp = await self.linkedin.proxycurl.request(
847847
method='GET',
848-
url='/proxycurl/api/contact-api/personal-contact',
848+
url='/api/v2/contact-api/personal-contact',
849849
params=params,
850850
data={
851851
},
@@ -908,7 +908,7 @@ async def personal_email(
908908

909909
resp = await self.linkedin.proxycurl.request(
910910
method='GET',
911-
url='/proxycurl/api/contact-api/personal-email',
911+
url='/api/v2/contact-api/personal-email',
912912
params=params,
913913
data={
914914
},
@@ -941,7 +941,7 @@ async def profile_picture(
941941

942942
resp = await self.linkedin.proxycurl.request(
943943
method='GET',
944-
url='/proxycurl/api/linkedin/person/profile-picture',
944+
url='/api/v2/person/profile-picture',
945945
params=params,
946946
data={
947947
},
@@ -1038,7 +1038,7 @@ async def get(
10381038

10391039
resp = await self.linkedin.proxycurl.request(
10401040
method='GET',
1041-
url='/proxycurl/api/linkedin/company',
1041+
url='/api/v2/company',
10421042
params=params,
10431043
data={
10441044
},
@@ -1219,7 +1219,7 @@ async def search(
12191219

12201220
resp = await self.linkedin.proxycurl.request(
12211221
method='GET',
1222-
url='/proxycurl/api/search/company',
1222+
url='/api/v2/search/company',
12231223
params=params,
12241224
data={
12251225
},
@@ -1279,7 +1279,7 @@ async def resolve(
12791279

12801280
resp = await self.linkedin.proxycurl.request(
12811281
method='GET',
1282-
url='/proxycurl/api/linkedin/company/resolve',
1282+
url='/api/v2/company/resolve',
12831283
params=params,
12841284
data={
12851285
},
@@ -1370,7 +1370,7 @@ async def find_job(
13701370

13711371
resp = await self.linkedin.proxycurl.request(
13721372
method='GET',
1373-
url='/proxycurl/api/v2/linkedin/company/job',
1373+
url='/api/v2/linkedin/company/job',
13741374
params=params,
13751375
data={
13761376
},
@@ -1461,7 +1461,7 @@ async def job_count(
14611461

14621462
resp = await self.linkedin.proxycurl.request(
14631463
method='GET',
1464-
url='/proxycurl/api/v2/linkedin/company/job/count',
1464+
url='/api/v2/linkedin/company/job/count',
14651465
params=params,
14661466
data={
14671467
},
@@ -1525,7 +1525,7 @@ async def employee_count(
15251525

15261526
resp = await self.linkedin.proxycurl.request(
15271527
method='GET',
1528-
url='/proxycurl/api/linkedin/company/employees/count',
1528+
url='/api/v2/company/employees/count',
15291529
params=params,
15301530
data={
15311531
},
@@ -1641,7 +1641,7 @@ async def employee_list(
16411641

16421642
resp = await self.linkedin.proxycurl.request(
16431643
method='GET',
1644-
url='/proxycurl/api/linkedin/company/employees',
1644+
url='/api/v2/company/employees',
16451645
params=params,
16461646
data={
16471647
},
@@ -1724,7 +1724,7 @@ async def employee_search(
17241724

17251725
resp = await self.linkedin.proxycurl.request(
17261726
method='GET',
1727-
url='/proxycurl/api/linkedin/company/employee/search',
1727+
url='/api/v2/company/employee/search',
17281728
params=params,
17291729
data={
17301730
},
@@ -1780,7 +1780,7 @@ async def role_lookup(
17801780

17811781
resp = await self.linkedin.proxycurl.request(
17821782
method='GET',
1783-
url='/proxycurl/api/find/company/role',
1783+
url='/api/v2/find/company/role',
17841784
params=params,
17851785
data={
17861786
},
@@ -1813,7 +1813,7 @@ async def profile_picture(
18131813

18141814
resp = await self.linkedin.proxycurl.request(
18151815
method='GET',
1816-
url='/proxycurl/api/linkedin/company/profile-picture',
1816+
url='/api/v2/company/profile-picture',
18171817
params=params,
18181818
data={
18191819
},
@@ -1857,7 +1857,7 @@ async def get(
18571857

18581858
resp = await self.linkedin.proxycurl.request(
18591859
method='GET',
1860-
url='/proxycurl/api/linkedin/school',
1860+
url='/api/v2/school',
18611861
params=params,
18621862
data={
18631863
},
@@ -1970,7 +1970,7 @@ async def student_list(
19701970

19711971
resp = await self.linkedin.proxycurl.request(
19721972
method='GET',
1973-
url='/proxycurl/api/linkedin/school/students',
1973+
url='/api/v2/school/students',
19741974
params=params,
19751975
data={
19761976
},
@@ -2010,7 +2010,7 @@ async def get(
20102010

20112011
resp = await self.linkedin.proxycurl.request(
20122012
method='GET',
2013-
url='/proxycurl/api/linkedin/job',
2013+
url='/api/v2/job',
20142014
params=params,
20152015
data={
20162016
},
@@ -2070,7 +2070,7 @@ async def listing(
20702070

20712071
resp = await self.linkedin.proxycurl.request(
20722072
method='GET',
2073-
url='/proxycurl/api/customers',
2073+
url='/api/v2/customers',
20742074
params=params,
20752075
data={
20762076
},
@@ -2131,7 +2131,7 @@ async def get_balance(
21312131

21322132
resp = await self.linkedin.proxycurl.request(
21332133
method='GET',
2134-
url='/proxycurl/api/credit-balance',
2134+
url='/api/v2/credit-balance',
21352135
params=params,
21362136
data={
21372137
},

proxycurl/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
_ = environ.get
55

66

7-
BASE_URL = _("BASE_URL", "https://nubela.co")
7+
BASE_URL = _("BASE_URL", "https://enrichlayer.com")
88
PROXYCURL_API_KEY = _("PROXYCURL_API_KEY", "")
99
TIMEOUT = _("TIMEOUT", 90)
1010
MAX_RETRIES = _("MAX_RETRIES", 2)

0 commit comments

Comments
 (0)