How to programmatically check the redirect link?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
56 views
Search for the electronic catalogue of libraries:
5aeb8131ad28d629962897.png

For example, write the title of the book "Design of everyday things" and click the button. Thrown us to the following address:
http://catalog.mgdb.ru:49001/cgi-bin/koha/opac-search.pl?q=Дизайн+usual+things&idx=ti

Then the address will look. Perhaps there is a redirect.
http://catalog.mgdb.ru:49001/cgi-bin/koha/opac-detail.pl?biblionumber=31737

I'm using Guzzle. Can programmatically form the first link. How to programmatically get a second? That is, to understand what biblionumber for each book.

It need to then programmatically switch to tab View MARC and from there to read the data. Address MARC View without the title of the book, but with biblionumber:
http://catalog.mgdb.ru:49001/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=31737
by | 56 views

1 Answer

0 like 0 dislike
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
asked Mar 25, 2019 by vovochka404
0 like 0 dislike
1 answer
110,608 questions
257,187 answers
0 comments
40,796 users